Interface PolicySummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PolicySummary.Builder,
,PolicySummary> SdkBuilder<PolicySummary.Builder,
,PolicySummary> SdkPojo
- Enclosing class:
PolicySummary
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the policy.awsManaged
(Boolean awsManaged) A boolean value that indicates whether the specified policy is an Amazon Web Services managed policy.description
(String description) The description of the policy.The unique identifier (ID) of the policy.The friendly name of the policy.The type of policy.type
(PolicyType type) The type of policy.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 Details
-
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 (_).
- Parameters:
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 (_).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the policy.
- Parameters:
description
- The description of the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of policy.
- Parameters:
type
- The type of policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of policy.
- Parameters:
type
- The type of policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-