Interface PolicyTargetSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PolicyTargetSummary.Builder,PolicyTargetSummary>,SdkBuilder<PolicyTargetSummary.Builder,PolicyTargetSummary>,SdkPojo
- Enclosing class:
- PolicyTargetSummary
public static interface PolicyTargetSummary.Builder extends SdkPojo, CopyableBuilder<PolicyTargetSummary.Builder,PolicyTargetSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PolicyTargetSummary.Builderarn(String arn)The Amazon Resource Name (ARN) of the policy target.PolicyTargetSummary.Buildername(String name)The friendly name of the policy target.PolicyTargetSummary.BuildertargetId(String targetId)The unique identifier (ID) of the policy target.PolicyTargetSummary.Buildertype(String type)The type of the policy target.PolicyTargetSummary.Buildertype(TargetType type)The type of the policy target.-
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
-
targetId
PolicyTargetSummary.Builder targetId(String targetId)
The unique identifier (ID) of the policy target.
The regex pattern for a target ID string requires one of the following:
-
Root - A string that begins with "r-" followed by from 4 to 32 lowercase letters or digits.
-
Account - A string that consists of exactly 12 digits.
-
Organizational unit (OU) - A string that begins with "ou-" followed by from 4 to 32 lowercase letters or digits (the ID of the root that the OU is in). This string is followed by a second "-" dash and from 8 to 32 additional lowercase letters or digits.
- Parameters:
targetId- The unique identifier (ID) of the policy target.The regex pattern for a target ID string requires one of the following:
-
Root - A string that begins with "r-" followed by from 4 to 32 lowercase letters or digits.
-
Account - A string that consists of exactly 12 digits.
-
Organizational unit (OU) - A string that begins with "ou-" followed by from 4 to 32 lowercase letters or digits (the ID of the root that the OU is in). 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
PolicyTargetSummary.Builder arn(String arn)
The Amazon Resource Name (ARN) of the policy target.
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 the policy target.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
PolicyTargetSummary.Builder name(String name)
The friendly name of the policy target.
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 the policy target.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.
-
type
PolicyTargetSummary.Builder type(String type)
The type of the policy target.
- Parameters:
type- The type of the policy target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TargetType,TargetType
-
type
PolicyTargetSummary.Builder type(TargetType type)
The type of the policy target.
- Parameters:
type- The type of the policy target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TargetType,TargetType
-
-