Interface DescribeReservedInstancesListingsRequest.Builder

    • Method Detail

      • filters

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

        One or more filters.

        • reserved-instances-id - The ID of the Reserved Instances.

        • reserved-instances-listing-id - The ID of the Reserved Instances listing.

        • status - The status of the Reserved Instance listing (pending | active | cancelled | closed).

        • status-message - The reason for the status.

        Parameters:
        filters - One or more filters.

        • reserved-instances-id - The ID of the Reserved Instances.

        • reserved-instances-listing-id - The ID of the Reserved Instances listing.

        • status - The status of the Reserved Instance listing (pending | active | cancelled | closed).

        • status-message - The reason for the status.

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

        DescribeReservedInstancesListingsRequest.Builder filters​(Filter... filters)

        One or more filters.

        • reserved-instances-id - The ID of the Reserved Instances.

        • reserved-instances-listing-id - The ID of the Reserved Instances listing.

        • status - The status of the Reserved Instance listing (pending | active | cancelled | closed).

        • status-message - The reason for the status.

        Parameters:
        filters - One or more filters.

        • reserved-instances-id - The ID of the Reserved Instances.

        • reserved-instances-listing-id - The ID of the Reserved Instances listing.

        • status - The status of the Reserved Instance listing (pending | active | cancelled | closed).

        • status-message - The reason for the status.

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

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

        One or more filters.

        • reserved-instances-id - The ID of the Reserved Instances.

        • reserved-instances-listing-id - The ID of the Reserved Instances listing.

        • status - The status of the Reserved Instance listing (pending | active | cancelled | closed).

        • status-message - The reason for the status.

        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)
      • reservedInstancesId

        DescribeReservedInstancesListingsRequest.Builder reservedInstancesId​(String reservedInstancesId)

        One or more Reserved Instance IDs.

        Parameters:
        reservedInstancesId - One or more Reserved Instance IDs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • reservedInstancesListingId

        DescribeReservedInstancesListingsRequest.Builder reservedInstancesListingId​(String reservedInstancesListingId)

        One or more Reserved Instance listing IDs.

        Parameters:
        reservedInstancesListingId - One or more Reserved Instance listing IDs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.