Interface Policy.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Policy.Builder,
,Policy> SdkBuilder<Policy.Builder,
,Policy> SdkPojo
- Enclosing class:
Policy
@Mutable
@NotThreadSafe
public static interface Policy.Builder
extends SdkPojo, CopyableBuilder<Policy.Builder,Policy>
-
Method Summary
Modifier and TypeMethodDescriptionAmazon Resource Name (ARN) for the policy.defaultVersion
(Integer defaultVersion) Determines if the specified policy is the default for the team.Name of the policy.policyType
(String policyType) The type of policy.policyType
(PolicyType policyType) 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, sdkFieldNameToField, sdkFields
-
Method Details
-
arn
Amazon Resource Name (ARN) for the policy.
- Parameters:
arn
- Amazon Resource Name (ARN) for the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultVersion
Determines if the specified policy is the default for the team.
- Parameters:
defaultVersion
- Determines if the specified policy is the default for the team.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyType
The type of policy.
- Parameters:
policyType
- The type of policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
policyType
The type of policy.
- Parameters:
policyType
- The type of policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
name
Name of the policy.
- Parameters:
name
- Name of the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-