Interface PolicySummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PolicySummary.Builder,PolicySummary>,SdkBuilder<PolicySummary.Builder,PolicySummary>,SdkPojo
- Enclosing class:
- PolicySummary
public static interface PolicySummary.Builder extends SdkPojo, CopyableBuilder<PolicySummary.Builder,PolicySummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PolicySummary.Builderarn(String arn)The Amazon Resource Name (ARN) of the policy.PolicySummary.BuilderawsManaged(Boolean awsManaged)A boolean value that indicates whether the specified policy is an Amazon Web Services managed policy.PolicySummary.Builderdescription(String description)The description of the policy.PolicySummary.Builderid(String id)The unique identifier (ID) of the policy.PolicySummary.Buildername(String name)The friendly name of the policy.PolicySummary.Buildertype(String type)The type of policy.PolicySummary.Buildertype(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 Detail
-
id
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 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
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.
- 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
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.
- 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
PolicySummary.Builder description(String 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
PolicySummary.Builder type(String 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:
PolicyType,PolicyType
-
type
PolicySummary.Builder type(PolicyType 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:
PolicyType,PolicyType
-
awsManaged
PolicySummary.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.
- 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.
-
-