@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetComponentResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetComponentResult() |
Modifier and Type | Method and Description |
---|---|
GetComponentResult |
clone() |
boolean |
equals(Object obj) |
Component |
getComponent()
The component object associated with the specified ARN.
|
String |
getRequestId()
The request ID that uniquely identifies this request.
|
int |
hashCode() |
void |
setComponent(Component component)
The component object associated with the specified ARN.
|
void |
setRequestId(String requestId)
The request ID that uniquely identifies this request.
|
String |
toString()
Returns a string representation of this object.
|
GetComponentResult |
withComponent(Component component)
The component object associated with the specified ARN.
|
GetComponentResult |
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 GetComponentResult withRequestId(String requestId)
The request ID that uniquely identifies this request.
requestId
- The request ID that uniquely identifies this request.public void setComponent(Component component)
The component object associated with the specified ARN.
component
- The component object associated with the specified ARN.public Component getComponent()
The component object associated with the specified ARN.
public GetComponentResult withComponent(Component component)
The component object associated with the specified ARN.
component
- The component object associated with the specified ARN.public String toString()
toString
in class Object
Object.toString()
public GetComponentResult clone()