Interface ListLinuxSubscriptionInstancesRequest.Builder

    • Method Detail

      • filters

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

        An array of structures that you can use to filter the results by your specified criteria. For example, you can specify Region in the Name, with the contains operator to list all subscriptions that match a partial string in the Value, such as us-west.

        For each filter, you can specify one of the following values for the Name key to streamline results:

        • AccountID

        • AmiID

        • DualSubscription

        • InstanceID

        • InstanceType

        • ProductCode

        • Region

        • Status

        • UsageOperation

        For each filter, you can use one of the following Operator values to define the behavior of the filter:

        • contains

        • equals

        • Notequal

        Parameters:
        filters - An array of structures that you can use to filter the results by your specified criteria. For example, you can specify Region in the Name, with the contains operator to list all subscriptions that match a partial string in the Value, such as us-west.

        For each filter, you can specify one of the following values for the Name key to streamline results:

        • AccountID

        • AmiID

        • DualSubscription

        • InstanceID

        • InstanceType

        • ProductCode

        • Region

        • Status

        • UsageOperation

        For each filter, you can use one of the following Operator values to define the behavior of the filter:

        • contains

        • equals

        • Notequal

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

        ListLinuxSubscriptionInstancesRequest.Builder filters​(Filter... filters)

        An array of structures that you can use to filter the results by your specified criteria. For example, you can specify Region in the Name, with the contains operator to list all subscriptions that match a partial string in the Value, such as us-west.

        For each filter, you can specify one of the following values for the Name key to streamline results:

        • AccountID

        • AmiID

        • DualSubscription

        • InstanceID

        • InstanceType

        • ProductCode

        • Region

        • Status

        • UsageOperation

        For each filter, you can use one of the following Operator values to define the behavior of the filter:

        • contains

        • equals

        • Notequal

        Parameters:
        filters - An array of structures that you can use to filter the results by your specified criteria. For example, you can specify Region in the Name, with the contains operator to list all subscriptions that match a partial string in the Value, such as us-west.

        For each filter, you can specify one of the following values for the Name key to streamline results:

        • AccountID

        • AmiID

        • DualSubscription

        • InstanceID

        • InstanceType

        • ProductCode

        • Region

        • Status

        • UsageOperation

        For each filter, you can use one of the following Operator values to define the behavior of the filter:

        • contains

        • equals

        • Notequal

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

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

        An array of structures that you can use to filter the results by your specified criteria. For example, you can specify Region in the Name, with the contains operator to list all subscriptions that match a partial string in the Value, such as us-west.

        For each filter, you can specify one of the following values for the Name key to streamline results:

        • AccountID

        • AmiID

        • DualSubscription

        • InstanceID

        • InstanceType

        • ProductCode

        • Region

        • Status

        • UsageOperation

        For each filter, you can use one of the following Operator values to define the behavior of the filter:

        • 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

        ListLinuxSubscriptionInstancesRequest.Builder maxResults​(Integer maxResults)

        The maximum items to return in a request.

        Parameters:
        maxResults - The maximum items to return in a request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        ListLinuxSubscriptionInstancesRequest.Builder nextToken​(String nextToken)

        A token to specify where to start paginating. This is the nextToken from a previously truncated response.

        Parameters:
        nextToken - A token to specify where to start paginating. This is the nextToken from a previously truncated response.
        Returns:
        Returns a reference to this object so that method calls can be chained together.