Interface ListContextStoreAssociationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListContextStoreAssociationsResponse.Builder,,ListContextStoreAssociationsResponse> NetworkManagerResponse.Builder,SdkBuilder<ListContextStoreAssociationsResponse.Builder,,ListContextStoreAssociationsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListContextStoreAssociationsResponse
@Mutable
@NotThreadSafe
public static interface ListContextStoreAssociationsResponse.Builder
extends NetworkManagerResponse.Builder, SdkPojo, CopyableBuilder<ListContextStoreAssociationsResponse.Builder,ListContextStoreAssociationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncontextStoreAssociations(Collection<ContextStoreAssociation> contextStoreAssociations) The context store associations.contextStoreAssociations(Consumer<ContextStoreAssociation.Builder>... contextStoreAssociations) The context store associations.contextStoreAssociations(ContextStoreAssociation... contextStoreAssociations) The context store associations.The token for the next page of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.networkmanager.model.NetworkManagerResponse.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
-
contextStoreAssociations
ListContextStoreAssociationsResponse.Builder contextStoreAssociations(Collection<ContextStoreAssociation> contextStoreAssociations) The context store associations.
- Parameters:
contextStoreAssociations- The context store associations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contextStoreAssociations
ListContextStoreAssociationsResponse.Builder contextStoreAssociations(ContextStoreAssociation... contextStoreAssociations) The context store associations.
- Parameters:
contextStoreAssociations- The context store associations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contextStoreAssociations
ListContextStoreAssociationsResponse.Builder contextStoreAssociations(Consumer<ContextStoreAssociation.Builder>... contextStoreAssociations) The context store associations.
This is a convenience method that creates an instance of theContextStoreAssociation.Builderavoiding the need to create one manually viaContextStoreAssociation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontextStoreAssociations(List<ContextStoreAssociation>).- Parameters:
contextStoreAssociations- a consumer that will call methods onContextStoreAssociation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token for the next page of results.
- Parameters:
nextToken- The token for the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-