Interface PolicyVersion.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PolicyVersion.Builder,
,PolicyVersion> SdkBuilder<PolicyVersion.Builder,
,PolicyVersion> SdkPojo
- Enclosing class:
PolicyVersion
@Mutable
@NotThreadSafe
public static interface PolicyVersion.Builder
extends SdkPojo, CopyableBuilder<PolicyVersion.Builder,PolicyVersion>
-
Method Summary
Modifier and TypeMethodDescriptionAmazon Resource Name (ARN) for the team.creationTime
(Instant creationTime) Timestamp when the policy was created.Document that contains the policy contents.Determines if the specified policy is the default for the team.lastUpdatedTime
(Instant lastUpdatedTime) Timestamp when the policy was last updated.Name of the policy.Amazon Resource Name (ARN) for the policy.policyType
(String policyType) The type of policy.policyType
(PolicyType policyType) The type of policy.Status for the policy.status
(PolicyStatus status) Status for the policy.Verison IDMethods 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 team.
- Parameters:
arn
- Amazon Resource Name (ARN) for the team.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyArn
Amazon Resource Name (ARN) for the policy.
- Parameters:
policyArn
- Amazon Resource Name (ARN) for the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versionId
Verison ID
- Parameters:
versionId
- Verison ID- 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:
-
isDefault
Determines if the specified policy is the default for the team.
- Parameters:
isDefault
- 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.
-
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.
-
status
Status for the policy. For example, if the policy is attachable or deprecated.
- Parameters:
status
- Status for the policy. For example, if the policy is attachable or deprecated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
Status for the policy. For example, if the policy is attachable or deprecated.
- Parameters:
status
- Status for the policy. For example, if the policy is attachable or deprecated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
creationTime
Timestamp when the policy was created.
- Parameters:
creationTime
- Timestamp when the policy was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedTime
Timestamp when the policy was last updated.
- Parameters:
lastUpdatedTime
- Timestamp when the policy was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
document
Document that contains the policy contents.
- Parameters:
document
- Document that contains the policy contents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-