Interface GetAssociationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetAssociationResponse.Builder,,GetAssociationResponse> DevOpsAgentResponse.Builder,SdkBuilder<GetAssociationResponse.Builder,,GetAssociationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetAssociationResponse
@Mutable
@NotThreadSafe
public static interface GetAssociationResponse.Builder
extends DevOpsAgentResponse.Builder, SdkPojo, CopyableBuilder<GetAssociationResponse.Builder,GetAssociationResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetAssociationResponse.Builderassociation(Consumer<Association.Builder> association) Sets the value of the Association property for this object.association(Association association) Sets the value of the Association property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.devopsagent.model.DevOpsAgentResponse.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
-
association
Sets the value of the Association property for this object.- Parameters:
association- The new value for the Association property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
association
Sets the value of the Association property for this object. This is a convenience method that creates an instance of theAssociation.Builderavoiding the need to create one manually viaAssociation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toassociation(Association).- Parameters:
association- a consumer that will call methods onAssociation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-