Class CfnDomainUnitProps.Builder
java.lang.Object
software.amazon.awscdk.services.datazone.CfnDomainUnitProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDomainUnitProps>
- Enclosing interface:
CfnDomainUnitProps
@Stability(Stable)
public static final class CfnDomainUnitProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDomainUnitProps>
A builder for
CfnDomainUnitProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnDomainUnitProps.getDescription()domainIdentifier(String domainIdentifier) Sets the value ofCfnDomainUnitProps.getDomainIdentifier()Sets the value ofCfnDomainUnitProps.getName()parentDomainUnitIdentifier(String parentDomainUnitIdentifier) Sets the value ofCfnDomainUnitProps.getParentDomainUnitIdentifier()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
domainIdentifier
Sets the value ofCfnDomainUnitProps.getDomainIdentifier()- Parameters:
domainIdentifier- The ID of the domain where you want to crate a domain unit. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnDomainUnitProps.getName()- Parameters:
name- The name of the domain unit. This parameter is required.- Returns:
this
-
parentDomainUnitIdentifier
@Stability(Stable) public CfnDomainUnitProps.Builder parentDomainUnitIdentifier(String parentDomainUnitIdentifier) Sets the value ofCfnDomainUnitProps.getParentDomainUnitIdentifier()- Parameters:
parentDomainUnitIdentifier- The ID of the parent domain unit. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnDomainUnitProps.getDescription()- Parameters:
description- The description of the domain unit.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDomainUnitProps>- Returns:
- a new instance of
CfnDomainUnitProps - Throws:
NullPointerException- if any required attribute was not provided
-