Interface ListLinuxSubscriptionsRequest.Builder

    • Method Detail

      • filters

        ListLinuxSubscriptionsRequest.Builder filters​(Collection<Filter> filters)

        An array of structures that you can use to filter the results to those that match one or more sets of key-value pairs that you specify. For example, you can filter by the name of Subscription with an optional operator to see subscriptions that match, partially match, or don't match a certain subscription's name.

        The valid names for this filter are:

        • Subscription

        The valid Operators for this filter are:

        • contains

        • equals

        • Notequal

        Parameters:
        filters - An array of structures that you can use to filter the results to those that match one or more sets of key-value pairs that you specify. For example, you can filter by the name of Subscription with an optional operator to see subscriptions that match, partially match, or don't match a certain subscription's name.

        The valid names for this filter are:

        • Subscription

        The valid Operators for this filter are:

        • contains

        • equals

        • Notequal

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • filters

        ListLinuxSubscriptionsRequest.Builder filters​(Filter... filters)

        An array of structures that you can use to filter the results to those that match one or more sets of key-value pairs that you specify. For example, you can filter by the name of Subscription with an optional operator to see subscriptions that match, partially match, or don't match a certain subscription's name.

        The valid names for this filter are:

        • Subscription

        The valid Operators for this filter are:

        • contains

        • equals

        • Notequal

        Parameters:
        filters - An array of structures that you can use to filter the results to those that match one or more sets of key-value pairs that you specify. For example, you can filter by the name of Subscription with an optional operator to see subscriptions that match, partially match, or don't match a certain subscription's name.

        The valid names for this filter are:

        • Subscription

        The valid Operators for this filter are:

        • contains

        • equals

        • Notequal

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • filters

        ListLinuxSubscriptionsRequest.Builder filters​(Consumer<Filter.Builder>... filters)

        An array of structures that you can use to filter the results to those that match one or more sets of key-value pairs that you specify. For example, you can filter by the name of Subscription with an optional operator to see subscriptions that match, partially match, or don't match a certain subscription's name.

        The valid names for this filter are:

        • Subscription

        The valid Operators for this filter are:

        • contains

        • equals

        • Notequal

        This is a convenience method that creates an instance of the Filter.Builder avoiding the need to create one manually via Filter.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #filters(List).

        Parameters:
        filters - a consumer that will call methods on Filter.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #filters(java.util.Collection)
      • maxResults

        ListLinuxSubscriptionsRequest.Builder maxResults​(Integer maxResults)

        Maximum number of results to return in a single call.

        Parameters:
        maxResults - Maximum number of results to return in a single call.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        ListLinuxSubscriptionsRequest.Builder nextToken​(String nextToken)

        Token for the next set of results.

        Parameters:
        nextToken - Token for the next set of results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.