Interface DescribeEffectiveInstanceAssociationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeEffectiveInstanceAssociationsResponse.Builder,,DescribeEffectiveInstanceAssociationsResponse> SdkBuilder<DescribeEffectiveInstanceAssociationsResponse.Builder,,DescribeEffectiveInstanceAssociationsResponse> SdkPojo,SdkResponse.Builder,SsmResponse.Builder
- Enclosing class:
DescribeEffectiveInstanceAssociationsResponse
@Mutable
@NotThreadSafe
public static interface DescribeEffectiveInstanceAssociationsResponse.Builder
extends SsmResponse.Builder, SdkPojo, CopyableBuilder<DescribeEffectiveInstanceAssociationsResponse.Builder,DescribeEffectiveInstanceAssociationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionassociations(Collection<InstanceAssociation> associations) The associations for the requested managed node.associations(Consumer<InstanceAssociation.Builder>... associations) The associations for the requested managed node.associations(InstanceAssociation... associations) The associations for the requested managed node.The token to use when requesting the next set of items.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods 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, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.ssm.model.SsmResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
associations
DescribeEffectiveInstanceAssociationsResponse.Builder associations(Collection<InstanceAssociation> associations) The associations for the requested managed node.
- Parameters:
associations- The associations for the requested managed node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associations
DescribeEffectiveInstanceAssociationsResponse.Builder associations(InstanceAssociation... associations) The associations for the requested managed node.
- Parameters:
associations- The associations for the requested managed node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associations
DescribeEffectiveInstanceAssociationsResponse.Builder associations(Consumer<InstanceAssociation.Builder>... associations) The associations for the requested managed node.
This is a convenience method that creates an instance of theInstanceAssociation.Builderavoiding the need to create one manually viaInstanceAssociation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toassociations(List<InstanceAssociation>).- Parameters:
associations- a consumer that will call methods onInstanceAssociation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
- Parameters:
nextToken- The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-