Interface UpdateAgentSpaceRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateAgentSpaceRequest.Builder,,UpdateAgentSpaceRequest> SdkBuilder<UpdateAgentSpaceRequest.Builder,,UpdateAgentSpaceRequest> SdkPojo,SdkRequest.Builder,SecurityAgentRequest.Builder
- Enclosing class:
UpdateAgentSpaceRequest
-
Method Summary
Modifier and TypeMethodDescriptionagentSpaceId(String agentSpaceId) The unique identifier of the agent space to update.default UpdateAgentSpaceRequest.BuilderawsResources(Consumer<AWSResources.Builder> awsResources) The updated AWS resources to associate with the agent space.awsResources(AWSResources awsResources) The updated AWS resources to associate with the agent space.default UpdateAgentSpaceRequest.BuildercodeReviewSettings(Consumer<CodeReviewSettings.Builder> codeReviewSettings) The updated code review settings for the agent space.codeReviewSettings(CodeReviewSettings codeReviewSettings) The updated code review settings for the agent space.description(String description) The updated description of the agent space.The updated name of the agent space.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.targetDomainIds(String... targetDomainIds) The updated list of target domain identifiers to associate with the agent space.targetDomainIds(Collection<String> targetDomainIds) The updated list of target domain identifiers to associate with the agent space.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.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.securityagent.model.SecurityAgentRequest.Builder
build
-
Method Details
-
agentSpaceId
The unique identifier of the agent space to update.
- Parameters:
agentSpaceId- The unique identifier of the agent space to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The updated name of the agent space.
- Parameters:
name- The updated name of the agent space.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The updated description of the agent space.
- Parameters:
description- The updated description of the agent space.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsResources
The updated AWS resources to associate with the agent space.
- Parameters:
awsResources- The updated AWS resources to associate with the agent space.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsResources
The updated AWS resources to associate with the agent space.
This is a convenience method that creates an instance of theAWSResources.Builderavoiding the need to create one manually viaAWSResources.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toawsResources(AWSResources).- Parameters:
awsResources- a consumer that will call methods onAWSResources.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetDomainIds
The updated list of target domain identifiers to associate with the agent space.
- Parameters:
targetDomainIds- The updated list of target domain identifiers to associate with the agent space.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetDomainIds
The updated list of target domain identifiers to associate with the agent space.
- Parameters:
targetDomainIds- The updated list of target domain identifiers to associate with the agent space.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
codeReviewSettings
The updated code review settings for the agent space.
- Parameters:
codeReviewSettings- The updated code review settings for the agent space.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
codeReviewSettings
default UpdateAgentSpaceRequest.Builder codeReviewSettings(Consumer<CodeReviewSettings.Builder> codeReviewSettings) The updated code review settings for the agent space.
This is a convenience method that creates an instance of theCodeReviewSettings.Builderavoiding the need to create one manually viaCodeReviewSettings.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocodeReviewSettings(CodeReviewSettings).- Parameters:
codeReviewSettings- a consumer that will call methods onCodeReviewSettings.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateAgentSpaceRequest.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
UpdateAgentSpaceRequest.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.
-