@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PolicyVersion extends Object implements Serializable, Cloneable, StructuredPojo
Describes a policy version.
Constructor and Description |
---|
PolicyVersion() |
Modifier and Type | Method and Description |
---|---|
PolicyVersion |
clone() |
boolean |
equals(Object obj) |
Date |
getCreateDate()
The date and time the policy was created.
|
Boolean |
getIsDefaultVersion()
Specifies whether the policy version is the default.
|
String |
getVersionId()
The policy version ID.
|
int |
hashCode() |
Boolean |
isDefaultVersion()
Specifies whether the policy version is the default.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreateDate(Date createDate)
The date and time the policy was created.
|
void |
setIsDefaultVersion(Boolean isDefaultVersion)
Specifies whether the policy version is the default.
|
void |
setVersionId(String versionId)
The policy version ID.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
PolicyVersion |
withCreateDate(Date createDate)
The date and time the policy was created.
|
PolicyVersion |
withIsDefaultVersion(Boolean isDefaultVersion)
Specifies whether the policy version is the default.
|
PolicyVersion |
withVersionId(String versionId)
The policy version ID.
|
public void setVersionId(String versionId)
The policy version ID.
versionId
- The policy version ID.public String getVersionId()
The policy version ID.
public PolicyVersion withVersionId(String versionId)
The policy version ID.
versionId
- The policy version ID.public void setIsDefaultVersion(Boolean isDefaultVersion)
Specifies whether the policy version is the default.
isDefaultVersion
- Specifies whether the policy version is the default.public Boolean getIsDefaultVersion()
Specifies whether the policy version is the default.
public PolicyVersion withIsDefaultVersion(Boolean isDefaultVersion)
Specifies whether the policy version is the default.
isDefaultVersion
- Specifies whether the policy version is the default.public Boolean isDefaultVersion()
Specifies whether the policy version is the default.
public void setCreateDate(Date createDate)
The date and time the policy was created.
createDate
- The date and time the policy was created.public Date getCreateDate()
The date and time the policy was created.
public PolicyVersion withCreateDate(Date createDate)
The date and time the policy was created.
createDate
- The date and time the policy was created.public String toString()
toString
in class Object
Object.toString()
public PolicyVersion clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.