@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetClusterPolicyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description | 
|---|
GetClusterPolicyResult()  | 
| Modifier and Type | Method and Description | 
|---|---|
GetClusterPolicyResult | 
clone()  | 
boolean | 
equals(Object obj)  | 
String | 
getCurrentVersion()
 The version of cluster policy. 
 | 
String | 
getPolicy()
 The cluster policy. 
 | 
int | 
hashCode()  | 
void | 
setCurrentVersion(String currentVersion)
 The version of cluster policy. 
 | 
void | 
setPolicy(String policy)
 The cluster policy. 
 | 
String | 
toString()
Returns a string representation of this object. 
 | 
GetClusterPolicyResult | 
withCurrentVersion(String currentVersion)
 The version of cluster policy. 
 | 
GetClusterPolicyResult | 
withPolicy(String policy)
 The cluster policy. 
 | 
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setCurrentVersion(String currentVersion)
The version of cluster policy.
currentVersion - The version of cluster policy.
public String getCurrentVersion()
The version of cluster policy.
The version of cluster policy.
public GetClusterPolicyResult withCurrentVersion(String currentVersion)
The version of cluster policy.
currentVersion - The version of cluster policy.
public void setPolicy(String policy)
The cluster policy.
policy - The cluster policy.
public String getPolicy()
The cluster policy.
The cluster policy.
public GetClusterPolicyResult withPolicy(String policy)
The cluster policy.
policy - The cluster policy.
public String toString()
toString in class ObjectObject.toString()public GetClusterPolicyResult clone()