Class CfnUserHierarchyGroupMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.connect.CfnUserHierarchyGroupMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUserHierarchyGroupMixinProps>
- Enclosing interface:
CfnUserHierarchyGroupMixinProps
@Stability(Stable)
public static final class CfnUserHierarchyGroupMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUserHierarchyGroupMixinProps>
A builder for
CfnUserHierarchyGroupMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.instanceArn(String instanceArn) Sets the value ofCfnUserHierarchyGroupMixinProps.getInstanceArn()instanceArn(IInstanceRef instanceArn) Sets the value ofCfnUserHierarchyGroupMixinProps.getInstanceArn()Sets the value ofCfnUserHierarchyGroupMixinProps.getName()parentGroupArn(String parentGroupArn) Sets the value ofCfnUserHierarchyGroupMixinProps.getParentGroupArn()Sets the value ofCfnUserHierarchyGroupMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
instanceArn
Sets the value ofCfnUserHierarchyGroupMixinProps.getInstanceArn()- Parameters:
instanceArn- The Amazon Resource Name (ARN) of the user hierarchy group.- Returns:
this
-
instanceArn
@Stability(Stable) public CfnUserHierarchyGroupMixinProps.Builder instanceArn(IInstanceRef instanceArn) Sets the value ofCfnUserHierarchyGroupMixinProps.getInstanceArn()- Parameters:
instanceArn- The Amazon Resource Name (ARN) of the user hierarchy group.- Returns:
this
-
name
Sets the value ofCfnUserHierarchyGroupMixinProps.getName()- Parameters:
name- The name of the user hierarchy group.- Returns:
this
-
parentGroupArn
@Stability(Stable) public CfnUserHierarchyGroupMixinProps.Builder parentGroupArn(String parentGroupArn) Sets the value ofCfnUserHierarchyGroupMixinProps.getParentGroupArn()- Parameters:
parentGroupArn- The Amazon Resource Name (ARN) of the parent group.- Returns:
this
-
tags
Sets the value ofCfnUserHierarchyGroupMixinProps.getTags()- Parameters:
tags- An array of key-value pairs to apply to this resource.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnUserHierarchyGroupMixinProps>- Returns:
- a new instance of
CfnUserHierarchyGroupMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-