@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetDiskRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetDiskRequest() |
Modifier and Type | Method and Description |
---|---|
GetDiskRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDiskName()
The name of the disk (
my-disk ). |
int |
hashCode() |
void |
setDiskName(String diskName)
The name of the disk (
my-disk ). |
String |
toString()
Returns a string representation of this object.
|
GetDiskRequest |
withDiskName(String diskName)
The name of the disk (
my-disk ). |
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 setDiskName(String diskName)
The name of the disk (my-disk
).
diskName
- The name of the disk (my-disk
).public String getDiskName()
The name of the disk (my-disk
).
my-disk
).public GetDiskRequest withDiskName(String diskName)
The name of the disk (my-disk
).
diskName
- The name of the disk (my-disk
).public String toString()
toString
in class Object
Object.toString()
public GetDiskRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()