Interface OrganizationalUnit.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<OrganizationalUnit.Builder,OrganizationalUnit>,SdkBuilder<OrganizationalUnit.Builder,OrganizationalUnit>,SdkPojo
- Enclosing class:
- OrganizationalUnit
public static interface OrganizationalUnit.Builder extends SdkPojo, CopyableBuilder<OrganizationalUnit.Builder,OrganizationalUnit>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OrganizationalUnit.Builderarn(String arn)The Amazon Resource Name (ARN) of this OU.OrganizationalUnit.Builderid(String id)The unique identifier (ID) associated with this OU.OrganizationalUnit.Buildername(String name)The friendly name of this OU.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
id
OrganizationalUnit.Builder id(String id)
The unique identifier (ID) associated with this OU.
The regex pattern for an organizational unit ID string requires "ou-" followed by from 4 to 32 lowercase letters or digits (the ID of the root that contains the OU). This string is followed by a second "-" dash and from 8 to 32 additional lowercase letters or digits.
- Parameters:
id- The unique identifier (ID) associated with this OU.The regex pattern for an organizational unit ID string requires "ou-" followed by from 4 to 32 lowercase letters or digits (the ID of the root that contains the OU). This string is followed by a second "-" dash and from 8 to 32 additional lowercase letters or digits.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
OrganizationalUnit.Builder arn(String arn)
The Amazon Resource Name (ARN) of this OU.
For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the Amazon Web Services Service Authorization Reference.
- Parameters:
arn- The Amazon Resource Name (ARN) of this OU.For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the Amazon Web Services Service Authorization Reference.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
OrganizationalUnit.Builder name(String name)
The friendly name of this OU.
The regex pattern that is used to validate this parameter is a string of any of the characters in the ASCII character range.
- Parameters:
name- The friendly name of this OU.The regex pattern that is used to validate this parameter is a string of any of the characters in the ASCII character range.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-