Interface DescribeCapacityReservationFleetsRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<DescribeCapacityReservationFleetsRequest.Builder,DescribeCapacityReservationFleetsRequest>, Ec2Request.Builder, SdkBuilder<DescribeCapacityReservationFleetsRequest.Builder,DescribeCapacityReservationFleetsRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
DescribeCapacityReservationFleetsRequest

public static interface DescribeCapacityReservationFleetsRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<DescribeCapacityReservationFleetsRequest.Builder,DescribeCapacityReservationFleetsRequest>
  • Method Details

    • capacityReservationFleetIds

      DescribeCapacityReservationFleetsRequest.Builder capacityReservationFleetIds(Collection<String> capacityReservationFleetIds)

      The IDs of the Capacity Reservation Fleets to describe.

      Parameters:
      capacityReservationFleetIds - The IDs of the Capacity Reservation Fleets to describe.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • capacityReservationFleetIds

      DescribeCapacityReservationFleetsRequest.Builder capacityReservationFleetIds(String... capacityReservationFleetIds)

      The IDs of the Capacity Reservation Fleets to describe.

      Parameters:
      capacityReservationFleetIds - The IDs of the Capacity Reservation Fleets to describe.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextToken

      The token to use to retrieve the next page of results.

      Parameters:
      nextToken - The token to use to retrieve the next page of results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxResults

      The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.

      Parameters:
      maxResults - The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • filters

      One or more filters.

      • state - The state of the Fleet (submitted | modifying | active | partially_fulfilled | expiring | expired | cancelling | cancelled | failed).

      • instance-match-criteria - The instance matching criteria for the Fleet. Only open is supported.

      • tenancy - The tenancy of the Fleet (default | dedicated).

      • allocation-strategy - The allocation strategy used by the Fleet. Only prioritized is supported.

      Parameters:
      filters - One or more filters.

      • state - The state of the Fleet (submitted | modifying | active | partially_fulfilled | expiring | expired | cancelling | cancelled | failed).

      • instance-match-criteria - The instance matching criteria for the Fleet. Only open is supported.

      • tenancy - The tenancy of the Fleet (default | dedicated).

      • allocation-strategy - The allocation strategy used by the Fleet. Only prioritized is supported.

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

      One or more filters.

      • state - The state of the Fleet (submitted | modifying | active | partially_fulfilled | expiring | expired | cancelling | cancelled | failed).

      • instance-match-criteria - The instance matching criteria for the Fleet. Only open is supported.

      • tenancy - The tenancy of the Fleet (default | dedicated).

      • allocation-strategy - The allocation strategy used by the Fleet. Only prioritized is supported.

      Parameters:
      filters - One or more filters.

      • state - The state of the Fleet (submitted | modifying | active | partially_fulfilled | expiring | expired | cancelling | cancelled | failed).

      • instance-match-criteria - The instance matching criteria for the Fleet. Only open is supported.

      • tenancy - The tenancy of the Fleet (default | dedicated).

      • allocation-strategy - The allocation strategy used by the Fleet. Only prioritized is supported.

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

      One or more filters.

      • state - The state of the Fleet (submitted | modifying | active | partially_fulfilled | expiring | expired | cancelling | cancelled | failed).

      • instance-match-criteria - The instance matching criteria for the Fleet. Only open is supported.

      • tenancy - The tenancy of the Fleet (default | dedicated).

      • allocation-strategy - The allocation strategy used by the Fleet. Only prioritized is supported.

      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<Filter>).

      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:
    • dryRun

      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

      Parameters:
      dryRun - Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.