Interface PolicyVersion.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PolicyVersion.Builder,,PolicyVersion> SdkBuilder<PolicyVersion.Builder,,PolicyVersion> SdkPojo
- Enclosing class:
PolicyVersion
public static interface PolicyVersion.Builder
extends SdkPojo, CopyableBuilder<PolicyVersion.Builder,PolicyVersion>
-
Method Summary
Modifier and TypeMethodDescriptioncreateDate(Instant createDate) The date and time the policy was created.isDefaultVersion(Boolean isDefaultVersion) Specifies whether the policy version is the default.The policy version ID.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
versionId
The policy version ID.
- Parameters:
versionId- The policy version ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isDefaultVersion
Specifies whether the policy version is the default.
- Parameters:
isDefaultVersion- Specifies whether the policy version is the default.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createDate
The date and time the policy was created.
- Parameters:
createDate- The date and time the policy was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-