Interface UpdateAssociationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateAssociationResponse.Builder,,UpdateAssociationResponse> DevOpsAgentResponse.Builder,SdkBuilder<UpdateAssociationResponse.Builder,,UpdateAssociationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateAssociationResponse
@Mutable
@NotThreadSafe
public static interface UpdateAssociationResponse.Builder
extends DevOpsAgentResponse.Builder, SdkPojo, CopyableBuilder<UpdateAssociationResponse.Builder,UpdateAssociationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionassociation(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.webhook(Consumer<GenericWebhook.Builder> webhook) Generic webhook configurationwebhook(GenericWebhook webhook) Generic webhook configurationMethods 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:
-
webhook
Generic webhook configuration
- Parameters:
webhook- Generic webhook configuration- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
webhook
Generic webhook configuration
This is a convenience method that creates an instance of theGenericWebhook.Builderavoiding the need to create one manually viaGenericWebhook.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed towebhook(GenericWebhook).- Parameters:
webhook- a consumer that will call methods onGenericWebhook.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-