public static interface PolicyTargetSummary.Builder extends CopyableBuilder<PolicyTargetSummary.Builder,PolicyTargetSummary>
Modifier and Type | Method and Description |
---|---|
PolicyTargetSummary.Builder |
arn(String arn)
The Amazon Resource Name (ARN) of the policy target.
|
PolicyTargetSummary.Builder |
name(String name)
The friendly name of the policy target.
|
PolicyTargetSummary.Builder |
targetId(String targetId)
The unique identifier (ID) of the policy target.
|
PolicyTargetSummary.Builder |
type(String type)
The type of the policy target.
|
PolicyTargetSummary.Builder |
type(TargetType type)
The type of the policy target.
|
copy
applyMutation, build
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 lower-case 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 lower-case letters or digits (the ID of the root that the OU is in) followed by a second "-" dash and from 8 to 32 additional lower-case letters or digits.
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 lower-case 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 lower-case letters or digits (the ID of the root that the OU is in) followed by a second "-" dash and from 8 to 32 additional lower-case letters or digits.
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 AWS Organizations User Guide.
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 AWS Organizations User Guide.
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.
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.
PolicyTargetSummary.Builder type(String type)
The type of the policy target.
type
- The type of the policy target.TargetType
,
TargetType
PolicyTargetSummary.Builder type(TargetType type)
The type of the policy target.
type
- The type of the policy target.TargetType
,
TargetType
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.