Interface UpdateAssociationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateAssociationRequest.Builder,,UpdateAssociationRequest> DevOpsAgentRequest.Builder,SdkBuilder<UpdateAssociationRequest.Builder,,UpdateAssociationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateAssociationRequest
@Mutable
@NotThreadSafe
public static interface UpdateAssociationRequest.Builder
extends DevOpsAgentRequest.Builder, SdkPojo, CopyableBuilder<UpdateAssociationRequest.Builder,UpdateAssociationRequest>
-
Method Summary
Modifier and TypeMethodDescriptionagentSpaceId(String agentSpaceId) The unique identifier of the AgentSpaceassociationId(String associationId) The unique identifier of the given association.default UpdateAssociationRequest.Builderconfiguration(Consumer<ServiceConfiguration.Builder> configuration) The configuration that directs how AgentSpace interacts with the given service.configuration(ServiceConfiguration configuration) The configuration that directs how AgentSpace interacts with the given service.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.devopsagent.model.DevOpsAgentRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
agentSpaceId
The unique identifier of the AgentSpace
- Parameters:
agentSpaceId- The unique identifier of the AgentSpace- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associationId
The unique identifier of the given association.
- Parameters:
associationId- The unique identifier of the given association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
The configuration that directs how AgentSpace interacts with the given service. The entire configuration is replaced on update.
- Parameters:
configuration- The configuration that directs how AgentSpace interacts with the given service. The entire configuration is replaced on update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default UpdateAssociationRequest.Builder configuration(Consumer<ServiceConfiguration.Builder> configuration) The configuration that directs how AgentSpace interacts with the given service. The entire configuration is replaced on update.
This is a convenience method that creates an instance of theServiceConfiguration.Builderavoiding the need to create one manually viaServiceConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfiguration(ServiceConfiguration).- Parameters:
configuration- a consumer that will call methods onServiceConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateAssociationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateAssociationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-