@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutComponentPolicyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
PutComponentPolicyResult() |
Modifier and Type | Method and Description |
---|---|
PutComponentPolicyResult |
clone() |
boolean |
equals(Object obj) |
String |
getComponentArn()
The Amazon Resource Name (ARN) of the component that this policy was applied to.
|
String |
getRequestId()
The request ID that uniquely identifies this request.
|
int |
hashCode() |
void |
setComponentArn(String componentArn)
The Amazon Resource Name (ARN) of the component that this policy was applied to.
|
void |
setRequestId(String requestId)
The request ID that uniquely identifies this request.
|
String |
toString()
Returns a string representation of this object.
|
PutComponentPolicyResult |
withComponentArn(String componentArn)
The Amazon Resource Name (ARN) of the component that this policy was applied to.
|
PutComponentPolicyResult |
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 PutComponentPolicyResult withRequestId(String requestId)
The request ID that uniquely identifies this request.
requestId
- The request ID that uniquely identifies this request.public void setComponentArn(String componentArn)
The Amazon Resource Name (ARN) of the component that this policy was applied to.
componentArn
- The Amazon Resource Name (ARN) of the component that this policy was applied to.public String getComponentArn()
The Amazon Resource Name (ARN) of the component that this policy was applied to.
public PutComponentPolicyResult withComponentArn(String componentArn)
The Amazon Resource Name (ARN) of the component that this policy was applied to.
componentArn
- The Amazon Resource Name (ARN) of the component that this policy was applied to.public String toString()
toString
in class Object
Object.toString()
public PutComponentPolicyResult clone()