@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetInstanceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetInstanceRequest() |
Modifier and Type | Method and Description |
---|---|
GetInstanceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getInstanceId()
The ID of the instance that you want to get information about.
|
String |
getServiceId()
The ID of the service that the instance is associated with.
|
int |
hashCode() |
void |
setInstanceId(String instanceId)
The ID of the instance that you want to get information about.
|
void |
setServiceId(String serviceId)
The ID of the service that the instance is associated with.
|
String |
toString()
Returns a string representation of this object.
|
GetInstanceRequest |
withInstanceId(String instanceId)
The ID of the instance that you want to get information about.
|
GetInstanceRequest |
withServiceId(String serviceId)
The ID of the service that the instance is associated with.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setServiceId(String serviceId)
The ID of the service that the instance is associated with.
serviceId
- The ID of the service that the instance is associated with.public String getServiceId()
The ID of the service that the instance is associated with.
public GetInstanceRequest withServiceId(String serviceId)
The ID of the service that the instance is associated with.
serviceId
- The ID of the service that the instance is associated with.public void setInstanceId(String instanceId)
The ID of the instance that you want to get information about.
instanceId
- The ID of the instance that you want to get information about.public String getInstanceId()
The ID of the instance that you want to get information about.
public GetInstanceRequest withInstanceId(String instanceId)
The ID of the instance that you want to get information about.
instanceId
- The ID of the instance that you want to get information about.public String toString()
toString
in class Object
Object.toString()
public GetInstanceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.