@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetPolicyVersionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
The output from the GetPolicyVersion operation.
| Constructor and Description |
|---|
GetPolicyVersionResult() |
| Modifier and Type | Method and Description |
|---|---|
GetPolicyVersionResult |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationDate() |
String |
getGenerationId() |
Boolean |
getIsDefaultVersion()
Specifies whether the policy version is the default.
|
Date |
getLastModifiedDate() |
String |
getPolicyArn()
The policy ARN.
|
String |
getPolicyDocument()
The JSON document that describes the policy.
|
String |
getPolicyName()
The policy name.
|
String |
getPolicyVersionId()
The policy version ID.
|
int |
hashCode() |
Boolean |
isDefaultVersion()
Specifies whether the policy version is the default.
|
void |
setCreationDate(Date creationDate) |
void |
setGenerationId(String generationId) |
void |
setIsDefaultVersion(Boolean isDefaultVersion)
Specifies whether the policy version is the default.
|
void |
setLastModifiedDate(Date lastModifiedDate) |
void |
setPolicyArn(String policyArn)
The policy ARN.
|
void |
setPolicyDocument(String policyDocument)
The JSON document that describes the policy.
|
void |
setPolicyName(String policyName)
The policy name.
|
void |
setPolicyVersionId(String policyVersionId)
The policy version ID.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GetPolicyVersionResult |
withCreationDate(Date creationDate) |
GetPolicyVersionResult |
withGenerationId(String generationId) |
GetPolicyVersionResult |
withIsDefaultVersion(Boolean isDefaultVersion)
Specifies whether the policy version is the default.
|
GetPolicyVersionResult |
withLastModifiedDate(Date lastModifiedDate) |
GetPolicyVersionResult |
withPolicyArn(String policyArn)
The policy ARN.
|
GetPolicyVersionResult |
withPolicyDocument(String policyDocument)
The JSON document that describes the policy.
|
GetPolicyVersionResult |
withPolicyName(String policyName)
The policy name.
|
GetPolicyVersionResult |
withPolicyVersionId(String policyVersionId)
The policy version ID.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setPolicyArn(String policyArn)
The policy ARN.
policyArn - The policy ARN.public String getPolicyArn()
The policy ARN.
public GetPolicyVersionResult withPolicyArn(String policyArn)
The policy ARN.
policyArn - The policy ARN.public void setPolicyName(String policyName)
The policy name.
policyName - The policy name.public String getPolicyName()
The policy name.
public GetPolicyVersionResult withPolicyName(String policyName)
The policy name.
policyName - The policy name.public void setPolicyDocument(String policyDocument)
The JSON document that describes the policy.
policyDocument - The JSON document that describes the policy.public String getPolicyDocument()
The JSON document that describes the policy.
public GetPolicyVersionResult withPolicyDocument(String policyDocument)
The JSON document that describes the policy.
policyDocument - The JSON document that describes the policy.public void setPolicyVersionId(String policyVersionId)
The policy version ID.
policyVersionId - The policy version ID.public String getPolicyVersionId()
The policy version ID.
public GetPolicyVersionResult withPolicyVersionId(String policyVersionId)
The policy version ID.
policyVersionId - 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 GetPolicyVersionResult 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 setCreationDate(Date creationDate)
creationDate - public Date getCreationDate()
public GetPolicyVersionResult withCreationDate(Date creationDate)
creationDate - public void setLastModifiedDate(Date lastModifiedDate)
lastModifiedDate - public Date getLastModifiedDate()
public GetPolicyVersionResult withLastModifiedDate(Date lastModifiedDate)
lastModifiedDate - public void setGenerationId(String generationId)
generationId - public String getGenerationId()
public GetPolicyVersionResult withGenerationId(String generationId)
generationId - public String toString()
toString in class ObjectObject.toString()public GetPolicyVersionResult clone()
Copyright © 2018. All rights reserved.