Interface CreateAgentSpaceRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateAgentSpaceRequest.Builder,,CreateAgentSpaceRequest> SdkBuilder<CreateAgentSpaceRequest.Builder,,CreateAgentSpaceRequest> SdkPojo,SdkRequest.Builder,SecurityAgentRequest.Builder
- Enclosing class:
CreateAgentSpaceRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateAgentSpaceRequest.BuilderawsResources(Consumer<AWSResources.Builder> awsResources) The AWS resources to associate with the agent space.awsResources(AWSResources awsResources) The AWS resources to associate with the agent space.default CreateAgentSpaceRequest.BuildercodeReviewSettings(Consumer<CodeReviewSettings.Builder> codeReviewSettings) The code review settings for the agent space.codeReviewSettings(CodeReviewSettings codeReviewSettings) The code review settings for the agent space.description(String description) A description of the agent space.The identifier of the AWS KMS key to use for encrypting data in the agent space.The 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.The tags to associate with the agent space.targetDomainIds(String... targetDomainIds) The list of target domain identifiers to associate with the agent space.targetDomainIds(Collection<String> targetDomainIds) The 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
-
name
The name of the agent space.
- Parameters:
name- The name of the agent space.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the agent space.
- Parameters:
description- A description of the agent space.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsResources
The AWS resources to associate with the agent space.
- Parameters:
awsResources- The 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 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 list of target domain identifiers to associate with the agent space.
- Parameters:
targetDomainIds- The 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 list of target domain identifiers to associate with the agent space.
- Parameters:
targetDomainIds- The 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 code review settings for the agent space.
- Parameters:
codeReviewSettings- The code review settings for the agent space.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
codeReviewSettings
default CreateAgentSpaceRequest.Builder codeReviewSettings(Consumer<CodeReviewSettings.Builder> codeReviewSettings) The 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:
-
kmsKeyId
The identifier of the AWS KMS key to use for encrypting data in the agent space.
- Parameters:
kmsKeyId- The identifier of the AWS KMS key to use for encrypting data in the agent space.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to associate with the agent space.
- Parameters:
tags- The tags to associate with the agent space.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateAgentSpaceRequest.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
CreateAgentSpaceRequest.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.
-