@Generated(value="software.amazon.awssdk:codegen") public final class PolicyVersion extends Object implements StructuredPojo, 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.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.