public static interface PolicySummary.Builder extends SdkPojo, 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 Amazon Web Services 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.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildPolicySummary.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 lowercase or uppercase letters, digits, or the underscore character (_).
id - The unique identifier (ID) of the policy.
The regex pattern for a policy ID string requires "p-" followed by from 8 to 128 lowercase or uppercase letters, digits, or the underscore character (_).
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 Amazon Web Services Service Authorization Reference.
arn - The Amazon Resource Name (ARN) of the policy.
For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the Amazon Web Services Service Authorization Reference.
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,
PolicyTypePolicySummary.Builder type(PolicyType type)
The type of policy.
type - The type of policy.PolicyType,
PolicyTypePolicySummary.Builder awsManaged(Boolean awsManaged)
A boolean value that indicates whether the specified policy is an Amazon Web Services 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 Amazon Web Services managed policy.
If true, then you can attach the policy to roots, OUs, or accounts, but you cannot edit it.Copyright © 2023. All rights reserved.