Interface CreateAssociationBatchResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateAssociationBatchResponse.Builder,
,CreateAssociationBatchResponse> SdkBuilder<CreateAssociationBatchResponse.Builder,
,CreateAssociationBatchResponse> SdkPojo
,SdkResponse.Builder
,SsmResponse.Builder
- Enclosing class:
CreateAssociationBatchResponse
public static interface CreateAssociationBatchResponse.Builder
extends SsmResponse.Builder, SdkPojo, CopyableBuilder<CreateAssociationBatchResponse.Builder,CreateAssociationBatchResponse>
-
Method Summary
Modifier and TypeMethodDescriptionfailed
(Collection<FailedCreateAssociation> failed) Information about the associations that failed.failed
(Consumer<FailedCreateAssociation.Builder>... failed) Information about the associations that failed.failed
(FailedCreateAssociation... failed) Information about the associations that failed.successful
(Collection<AssociationDescription> successful) Information about the associations that succeeded.successful
(Consumer<AssociationDescription.Builder>... successful) Information about the associations that succeeded.successful
(AssociationDescription... successful) Information about the associations that succeeded.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.ssm.model.SsmResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
successful
Information about the associations that succeeded.
- Parameters:
successful
- Information about the associations that succeeded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successful
Information about the associations that succeeded.
- Parameters:
successful
- Information about the associations that succeeded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successful
CreateAssociationBatchResponse.Builder successful(Consumer<AssociationDescription.Builder>... successful) Information about the associations that succeeded.
This is a convenience method that creates an instance of theAssociationDescription.Builder
avoiding the need to create one manually viaAssociationDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosuccessful(List<AssociationDescription>)
.- Parameters:
successful
- a consumer that will call methods onAssociationDescription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failed
Information about the associations that failed.
- Parameters:
failed
- Information about the associations that failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failed
Information about the associations that failed.
- Parameters:
failed
- Information about the associations that failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failed
Information about the associations that failed.
This is a convenience method that creates an instance of theFailedCreateAssociation.Builder
avoiding the need to create one manually viaFailedCreateAssociation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofailed(List<FailedCreateAssociation>)
.- Parameters:
failed
- a consumer that will call methods onFailedCreateAssociation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-