@Generated(value="software.amazon.awssdk:codegen") public final class PolicyVersion extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PolicyVersion.Builder,PolicyVersion>
Describes a policy version.
Modifier and Type | Class and Description |
---|---|
static interface |
PolicyVersion.Builder |
Modifier and Type | Method and Description |
---|---|
static PolicyVersion.Builder |
builder() |
Instant |
createDate()
The date and time the policy was created.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
isDefaultVersion()
Specifies whether the policy version is the default.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PolicyVersion.Builder> |
serializableBuilderClass() |
PolicyVersion.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
versionId()
The policy version ID.
|
copy
public String versionId()
The policy version ID.
public Boolean isDefaultVersion()
Specifies whether the policy version is the default.
public Instant createDate()
The date and time the policy was created.
public PolicyVersion.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<PolicyVersion.Builder,PolicyVersion>
public static PolicyVersion.Builder builder()
public static Class<? extends PolicyVersion.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.