Class DomainUnitReference.Builder
java.lang.Object
software.amazon.awscdk.services.datazone.DomainUnitReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DomainUnitReference>
- Enclosing interface:
DomainUnitReference
@Stability(Stable)
public static final class DomainUnitReference.Builder
extends Object
implements software.amazon.jsii.Builder<DomainUnitReference>
A builder for
DomainUnitReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofDomainUnitReference.getDomainId()
domainUnitId
(String domainUnitId) Sets the value ofDomainUnitReference.getDomainUnitId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
domainId
Sets the value ofDomainUnitReference.getDomainId()
- Parameters:
domainId
- The DomainId of the DomainUnit resource. This parameter is required.- Returns:
this
-
domainUnitId
Sets the value ofDomainUnitReference.getDomainUnitId()
- Parameters:
domainUnitId
- The Id of the DomainUnit resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<DomainUnitReference>
- Returns:
- a new instance of
DomainUnitReference
- Throws:
NullPointerException
- if any required attribute was not provided
-