Interface ListCapacityProvidersResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListCapacityProvidersResponse.Builder,,ListCapacityProvidersResponse> LambdaResponse.Builder,SdkBuilder<ListCapacityProvidersResponse.Builder,,ListCapacityProvidersResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListCapacityProvidersResponse
@Mutable
@NotThreadSafe
public static interface ListCapacityProvidersResponse.Builder
extends LambdaResponse.Builder, SdkPojo, CopyableBuilder<ListCapacityProvidersResponse.Builder,ListCapacityProvidersResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncapacityProviders(Collection<CapacityProvider> capacityProviders) A list of capacity providers in your account.capacityProviders(Consumer<CapacityProvider.Builder>... capacityProviders) A list of capacity providers in your account.capacityProviders(CapacityProvider... capacityProviders) A list of capacity providers in your account.nextMarker(String nextMarker) The pagination token that's included if more results are available.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.lambda.model.LambdaResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
capacityProviders
ListCapacityProvidersResponse.Builder capacityProviders(Collection<CapacityProvider> capacityProviders) A list of capacity providers in your account.
- Parameters:
capacityProviders- A list of capacity providers in your account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityProviders
A list of capacity providers in your account.
- Parameters:
capacityProviders- A list of capacity providers in your account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityProviders
ListCapacityProvidersResponse.Builder capacityProviders(Consumer<CapacityProvider.Builder>... capacityProviders) A list of capacity providers in your account.
This is a convenience method that creates an instance of theCapacityProvider.Builderavoiding the need to create one manually viaCapacityProvider.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocapacityProviders(List<CapacityProvider>).- Parameters:
capacityProviders- a consumer that will call methods onCapacityProvider.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextMarker
The pagination token that's included if more results are available.
- Parameters:
nextMarker- The pagination token that's included if more results are available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-