Class CfnAgentSpaceProps.Builder
java.lang.Object
software.amazon.awscdk.services.securityagent.CfnAgentSpaceProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAgentSpaceProps>
- Enclosing interface:
CfnAgentSpaceProps
@Stability(Stable)
public static final class CfnAgentSpaceProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAgentSpaceProps>
A builder for
CfnAgentSpaceProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionawsResources(IResolvable awsResources) Sets the value ofCfnAgentSpaceProps.getAwsResources()awsResources(CfnAgentSpace.AWSResourcesProperty awsResources) Sets the value ofCfnAgentSpaceProps.getAwsResources()build()Builds the configured instance.codeReviewSettings(IResolvable codeReviewSettings) Sets the value ofCfnAgentSpaceProps.getCodeReviewSettings()codeReviewSettings(CfnAgentSpace.CodeReviewSettingsProperty codeReviewSettings) Sets the value ofCfnAgentSpaceProps.getCodeReviewSettings()description(String description) Sets the value ofCfnAgentSpaceProps.getDescription()integratedResources(List<? extends Object> integratedResources) Sets the value ofCfnAgentSpaceProps.getIntegratedResources()integratedResources(IResolvable integratedResources) Sets the value ofCfnAgentSpaceProps.getIntegratedResources()Sets the value ofCfnAgentSpaceProps.getKmsKeyId()Sets the value ofCfnAgentSpaceProps.getName()Sets the value ofCfnAgentSpaceProps.getTags()targetDomainIds(List<String> targetDomainIds) Sets the value ofCfnAgentSpaceProps.getTargetDomainIds()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnAgentSpaceProps.getName()- Parameters:
name- Name of the agent space. This parameter is required.- Returns:
this
-
awsResources
Sets the value ofCfnAgentSpaceProps.getAwsResources()- Parameters:
awsResources- AWS resource configuration.- Returns:
this
-
awsResources
@Stability(Stable) public CfnAgentSpaceProps.Builder awsResources(CfnAgentSpace.AWSResourcesProperty awsResources) Sets the value ofCfnAgentSpaceProps.getAwsResources()- Parameters:
awsResources- AWS resource configuration.- Returns:
this
-
codeReviewSettings
@Stability(Stable) public CfnAgentSpaceProps.Builder codeReviewSettings(IResolvable codeReviewSettings) Sets the value ofCfnAgentSpaceProps.getCodeReviewSettings()- Parameters:
codeReviewSettings- Details of code review settings.- Returns:
this
-
codeReviewSettings
@Stability(Stable) public CfnAgentSpaceProps.Builder codeReviewSettings(CfnAgentSpace.CodeReviewSettingsProperty codeReviewSettings) Sets the value ofCfnAgentSpaceProps.getCodeReviewSettings()- Parameters:
codeReviewSettings- Details of code review settings.- Returns:
this
-
description
Sets the value ofCfnAgentSpaceProps.getDescription()- Parameters:
description- Description of the agent space.- Returns:
this
-
integratedResources
@Stability(Stable) public CfnAgentSpaceProps.Builder integratedResources(IResolvable integratedResources) Sets the value ofCfnAgentSpaceProps.getIntegratedResources()- Parameters:
integratedResources- Integrated Resources configuration.- Returns:
this
-
integratedResources
@Stability(Stable) public CfnAgentSpaceProps.Builder integratedResources(List<? extends Object> integratedResources) Sets the value ofCfnAgentSpaceProps.getIntegratedResources()- Parameters:
integratedResources- Integrated Resources configuration.- Returns:
this
-
kmsKeyId
Sets the value ofCfnAgentSpaceProps.getKmsKeyId()- Parameters:
kmsKeyId- Identifier of the KMS key used to encrypt data. Can be a key ID, key ARN, alias name, or alias ARN. If not specified, an AWS managed key is used.- Returns:
this
-
tags
Sets the value ofCfnAgentSpaceProps.getTags()- Parameters:
tags- Tags for the agent space.- Returns:
this
-
targetDomainIds
Sets the value ofCfnAgentSpaceProps.getTargetDomainIds()- Parameters:
targetDomainIds- List of target domain identifiers registered with the agent space.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAgentSpaceProps>- Returns:
- a new instance of
CfnAgentSpaceProps - Throws:
NullPointerException- if any required attribute was not provided
-