@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetTagPolicyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
GetTagPolicyResult() |
| Modifier and Type | Method and Description |
|---|---|
GetTagPolicyResult |
clone() |
boolean |
equals(Object obj) |
Date |
getLastUpdated()
The last time this policy was updated.
|
String |
getPolicy()
The policy that is attached to the specified target.
|
int |
hashCode() |
void |
setLastUpdated(Date lastUpdated)
The last time this policy was updated.
|
void |
setPolicy(String policy)
The policy that is attached to the specified target.
|
String |
toString()
Returns a string representation of this object.
|
GetTagPolicyResult |
withLastUpdated(Date lastUpdated)
The last time this policy was updated.
|
GetTagPolicyResult |
withPolicy(String policy)
The policy that is attached to the specified target.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setPolicy(String policy)
The policy that is attached to the specified target.
policy - The policy that is attached to the specified target.public String getPolicy()
The policy that is attached to the specified target.
public GetTagPolicyResult withPolicy(String policy)
The policy that is attached to the specified target.
policy - The policy that is attached to the specified target.public void setLastUpdated(Date lastUpdated)
The last time this policy was updated.
lastUpdated - The last time this policy was updated.public Date getLastUpdated()
The last time this policy was updated.
public GetTagPolicyResult withLastUpdated(Date lastUpdated)
The last time this policy was updated.
lastUpdated - The last time this policy was updated.public String toString()
toString in class ObjectObject.toString()public GetTagPolicyResult clone()
Copyright © 2019. All rights reserved.