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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListCapacityProvidersResponse.BuildercapacityProviders(Collection<CapacityProvider> capacityProviders)A list of capacity providers in your account.ListCapacityProvidersResponse.BuildercapacityProviders(Consumer<CapacityProvider.Builder>... capacityProviders)A list of capacity providers in your account.ListCapacityProvidersResponse.BuildercapacityProviders(CapacityProvider... capacityProviders)A list of capacity providers in your account.ListCapacityProvidersResponse.BuildernextMarker(String nextMarker)The pagination token that's included if more results are available.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.lambda.model.LambdaResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
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
ListCapacityProvidersResponse.Builder capacityProviders(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
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 to#capacityProviders(List.) - 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:
#capacityProviders(java.util.Collection)
-
nextMarker
ListCapacityProvidersResponse.Builder nextMarker(String 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.
-
-