Class OwnerReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.datazone.OwnerReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<OwnerReference>
- Enclosing interface:
OwnerReference
@Stability(Stable)
public static final class OwnerReference.Builder
extends Object
implements software.amazon.jsii.Builder<OwnerReference>
A builder for
OwnerReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.domainIdentifier(String domainIdentifier) Sets the value ofOwnerReference.getDomainIdentifier()entityIdentifier(String entityIdentifier) Sets the value ofOwnerReference.getEntityIdentifier()entityType(String entityType) Sets the value ofOwnerReference.getEntityType()ownerIdentifier(String ownerIdentifier) Sets the value ofOwnerReference.getOwnerIdentifier()Sets the value ofOwnerReference.getOwnerType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
domainIdentifier
Sets the value ofOwnerReference.getDomainIdentifier()- Parameters:
domainIdentifier- The DomainIdentifier of the Owner resource. This parameter is required.- Returns:
this
-
entityIdentifier
Sets the value ofOwnerReference.getEntityIdentifier()- Parameters:
entityIdentifier- The EntityIdentifier of the Owner resource. This parameter is required.- Returns:
this
-
entityType
Sets the value ofOwnerReference.getEntityType()- Parameters:
entityType- The EntityType of the Owner resource. This parameter is required.- Returns:
this
-
ownerIdentifier
Sets the value ofOwnerReference.getOwnerIdentifier()- Parameters:
ownerIdentifier- The OwnerIdentifier of the Owner resource. This parameter is required.- Returns:
this
-
ownerType
Sets the value ofOwnerReference.getOwnerType()- Parameters:
ownerType- The OwnerType of the Owner resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<OwnerReference>- Returns:
- a new instance of
OwnerReference - Throws:
NullPointerException- if any required attribute was not provided
-