Class CfnDomainProps.Builder
java.lang.Object
software.amazon.awscdk.services.datazone.CfnDomainProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDomainProps>
- Enclosing interface:
CfnDomainProps
@Stability(Stable)
public static final class CfnDomainProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDomainProps>
A builder for
CfnDomainProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnDomainProps.getDescription()domainExecutionRole(String domainExecutionRole) Sets the value ofCfnDomainProps.getDomainExecutionRole()domainVersion(String domainVersion) Sets the value ofCfnDomainProps.getDomainVersion()kmsKeyIdentifier(String kmsKeyIdentifier) Sets the value ofCfnDomainProps.getKmsKeyIdentifier()Sets the value ofCfnDomainProps.getName()serviceRole(String serviceRole) Sets the value ofCfnDomainProps.getServiceRole()singleSignOn(IResolvable singleSignOn) Sets the value ofCfnDomainProps.getSingleSignOn()singleSignOn(CfnDomain.SingleSignOnProperty singleSignOn) Sets the value ofCfnDomainProps.getSingleSignOn()Sets the value ofCfnDomainProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnDomainProps.getName()- Parameters:
name- The name of the Amazon DataZone domain. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnDomainProps.getDescription()- Parameters:
description- The description of the Amazon DataZone domain.- Returns:
this
-
domainExecutionRole
Sets the value ofCfnDomainProps.getDomainExecutionRole()- Parameters:
domainExecutionRole- The domain execution role that is created when an Amazon DataZone domain is created. The domain execution role is created in the AWS account that houses the Amazon DataZone domain.- Returns:
this
-
domainVersion
Sets the value ofCfnDomainProps.getDomainVersion()- Parameters:
domainVersion- The domain version.- Returns:
this
-
kmsKeyIdentifier
Sets the value ofCfnDomainProps.getKmsKeyIdentifier()- Parameters:
kmsKeyIdentifier- The identifier of the AWS Key Management Service (KMS) key that is used to encrypt the Amazon DataZone domain, metadata, and reporting data.- Returns:
this
-
serviceRole
Sets the value ofCfnDomainProps.getServiceRole()- Parameters:
serviceRole- The service role of the domain.- Returns:
this
-
singleSignOn
Sets the value ofCfnDomainProps.getSingleSignOn()- Parameters:
singleSignOn- The single sign-on details in Amazon DataZone.- Returns:
this
-
singleSignOn
@Stability(Stable) public CfnDomainProps.Builder singleSignOn(CfnDomain.SingleSignOnProperty singleSignOn) Sets the value ofCfnDomainProps.getSingleSignOn()- Parameters:
singleSignOn- The single sign-on details in Amazon DataZone.- Returns:
this
-
tags
Sets the value ofCfnDomainProps.getTags()- Parameters:
tags- The tags specified for the Amazon DataZone domain.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDomainProps>- Returns:
- a new instance of
CfnDomainProps - Throws:
NullPointerException- if any required attribute was not provided
-