Class CfnOwnerPropsMixin.OwnerPropertiesProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.datazone.CfnOwnerPropsMixin.OwnerPropertiesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOwnerPropsMixin.OwnerPropertiesProperty>
- Enclosing interface:
CfnOwnerPropsMixin.OwnerPropertiesProperty
@Stability(Stable)
public static final class CfnOwnerPropsMixin.OwnerPropertiesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOwnerPropsMixin.OwnerPropertiesProperty>
A builder for
CfnOwnerPropsMixin.OwnerPropertiesProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnOwnerPropsMixin.OwnerPropertiesProperty.getGroup()group(IResolvable group) Sets the value ofCfnOwnerPropsMixin.OwnerPropertiesProperty.getGroup()Sets the value ofCfnOwnerPropsMixin.OwnerPropertiesProperty.getUser()user(IResolvable user) Sets the value ofCfnOwnerPropsMixin.OwnerPropertiesProperty.getUser()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
group
@Stability(Stable) public CfnOwnerPropsMixin.OwnerPropertiesProperty.Builder group(IResolvable group) Sets the value ofCfnOwnerPropsMixin.OwnerPropertiesProperty.getGroup()- Parameters:
group- Specifies that the domain unit owner is a group.- Returns:
this
-
group
@Stability(Stable) public CfnOwnerPropsMixin.OwnerPropertiesProperty.Builder group(CfnOwnerPropsMixin.OwnerGroupPropertiesProperty group) Sets the value ofCfnOwnerPropsMixin.OwnerPropertiesProperty.getGroup()- Parameters:
group- Specifies that the domain unit owner is a group.- Returns:
this
-
user
Sets the value ofCfnOwnerPropsMixin.OwnerPropertiesProperty.getUser()- Parameters:
user- Specifies that the domain unit owner is a user.- Returns:
this
-
user
@Stability(Stable) public CfnOwnerPropsMixin.OwnerPropertiesProperty.Builder user(CfnOwnerPropsMixin.OwnerUserPropertiesProperty user) Sets the value ofCfnOwnerPropsMixin.OwnerPropertiesProperty.getUser()- Parameters:
user- Specifies that the domain unit owner is a user.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnOwnerPropsMixin.OwnerPropertiesProperty>- Returns:
- a new instance of
CfnOwnerPropsMixin.OwnerPropertiesProperty - Throws:
NullPointerException- if any required attribute was not provided
-