@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetComponentPolicyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetComponentPolicyResult() |
Modifier and Type | Method and Description |
---|---|
GetComponentPolicyResult |
clone() |
boolean |
equals(Object obj) |
String |
getPolicy()
The component policy.
|
String |
getRequestId()
The request ID that uniquely identifies this request.
|
int |
hashCode() |
void |
setPolicy(String policy)
The component policy.
|
void |
setRequestId(String requestId)
The request ID that uniquely identifies this request.
|
String |
toString()
Returns a string representation of this object.
|
GetComponentPolicyResult |
withPolicy(String policy)
The component policy.
|
GetComponentPolicyResult |
withRequestId(String requestId)
The request ID that uniquely identifies this request.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setRequestId(String requestId)
The request ID that uniquely identifies this request.
requestId
- The request ID that uniquely identifies this request.public String getRequestId()
The request ID that uniquely identifies this request.
public GetComponentPolicyResult withRequestId(String requestId)
The request ID that uniquely identifies this request.
requestId
- The request ID that uniquely identifies this request.public void setPolicy(String policy)
The component policy.
policy
- The component policy.public String getPolicy()
The component policy.
public GetComponentPolicyResult withPolicy(String policy)
The component policy.
policy
- The component policy.public String toString()
toString
in class Object
Object.toString()
public GetComponentPolicyResult clone()