public static interface PolicySummary.Builder extends CopyableBuilder<PolicySummary.Builder,PolicySummary>
Modifier and Type | Method and Description |
---|---|
PolicySummary.Builder |
arn(String arn)
The Amazon Resource Name (ARN) of the policy.
|
PolicySummary.Builder |
awsManaged(Boolean awsManaged)
A boolean value that indicates whether the specified policy is an AWS managed policy.
|
PolicySummary.Builder |
description(String description)
The description of the policy.
|
PolicySummary.Builder |
id(String id)
The unique identifier (ID) of the policy.
|
PolicySummary.Builder |
name(String name)
The friendly name of the policy.
|
PolicySummary.Builder |
type(PolicyType type)
The type of policy.
|
PolicySummary.Builder |
type(String type)
The type of policy.
|
copy
applyMutation, build
PolicySummary.Builder id(String id)
The unique identifier (ID) of the policy.
The regex pattern for a policy ID string requires "p-" followed by from 8 to 128 lower-case letters or digits.
id
- The unique identifier (ID) of the policy.
The regex pattern for a policy ID string requires "p-" followed by from 8 to 128 lower-case letters or digits.
PolicySummary.Builder arn(String arn)
The Amazon Resource Name (ARN) of the policy.
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.
For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the AWS Organizations User Guide.
PolicySummary.Builder name(String name)
The friendly name of the policy.
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.
The regex pattern that is used to validate this parameter is a string of any of the characters in the ASCII character range.
PolicySummary.Builder description(String description)
The description of the policy.
description
- The description of the policy.PolicySummary.Builder type(String type)
The type of policy.
type
- The type of policy.PolicyType
,
PolicyType
PolicySummary.Builder type(PolicyType type)
The type of policy.
type
- The type of policy.PolicyType
,
PolicyType
PolicySummary.Builder awsManaged(Boolean awsManaged)
A boolean value that indicates whether the specified policy is an AWS managed policy. If true, then you can attach the policy to roots, OUs, or accounts, but you cannot edit it.
awsManaged
- A boolean value that indicates whether the specified policy is an AWS managed policy. If true, then
you can attach the policy to roots, OUs, or accounts, but you cannot edit it.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.