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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PolicyVersion.BuildercreateDate(Instant createDate)The date and time the policy was created.PolicyVersion.BuilderisDefaultVersion(Boolean isDefaultVersion)Specifies whether the policy version is the default.PolicyVersion.BuilderversionId(String versionId)The policy version ID.-
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
-
versionId
PolicyVersion.Builder versionId(String 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
PolicyVersion.Builder isDefaultVersion(Boolean 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
PolicyVersion.Builder createDate(Instant 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.
-
-