public static interface DescribeCapacityProvidersResponse.Builder extends EcsResponse.Builder, SdkPojo, CopyableBuilder<DescribeCapacityProvidersResponse.Builder,DescribeCapacityProvidersResponse>
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildDescribeCapacityProvidersResponse.Builder capacityProviders(Collection<CapacityProvider> capacityProviders)
The list of capacity providers.
capacityProviders - The list of capacity providers.DescribeCapacityProvidersResponse.Builder capacityProviders(CapacityProvider... capacityProviders)
The list of capacity providers.
capacityProviders - The list of capacity providers.DescribeCapacityProvidersResponse.Builder capacityProviders(Consumer<CapacityProvider.Builder>... capacityProviders)
The list of capacity providers.
This is a convenience method that creates an instance of theCapacityProvider.Builder avoiding the need to create one
manually via CapacityProvider.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #capacityProviders(List.
capacityProviders - a consumer that will call methods on
CapacityProvider.Builder#capacityProviders(java.util.Collection) DescribeCapacityProvidersResponse.Builder failures(Collection<Failure> failures)
Any failures associated with the call.
failures - Any failures associated with the call.DescribeCapacityProvidersResponse.Builder failures(Failure... failures)
Any failures associated with the call.
failures - Any failures associated with the call.DescribeCapacityProvidersResponse.Builder failures(Consumer<Failure.Builder>... failures)
Any failures associated with the call.
This is a convenience method that creates an instance of theFailure.Builder avoiding the need to create one manually
via Failure.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #failures(List.
failures - a consumer that will call methods on Failure.Builder#failures(java.util.Collection) DescribeCapacityProvidersResponse.Builder nextToken(String nextToken)
The nextToken value to include in a future DescribeCapacityProviders request. When
the results of a DescribeCapacityProviders request exceed maxResults, this value
can be used to retrieve the next page of results. This value is null when there are no more
results to return.
nextToken - The nextToken value to include in a future DescribeCapacityProviders
request. When the results of a DescribeCapacityProviders request exceed
maxResults, this value can be used to retrieve the next page of results. This value is
null when there are no more results to return.Copyright © 2023. All rights reserved.