@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AttachDiskRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
AttachDiskRequest() |
Modifier and Type | Method and Description |
---|---|
AttachDiskRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDiskName()
The unique Lightsail disk name (e.g.,
my-disk ). |
String |
getDiskPath()
The disk path to expose to the instance (e.g.,
/dev/xvdf ). |
String |
getInstanceName()
The name of the Lightsail instance where you want to utilize the storage disk.
|
int |
hashCode() |
void |
setDiskName(String diskName)
The unique Lightsail disk name (e.g.,
my-disk ). |
void |
setDiskPath(String diskPath)
The disk path to expose to the instance (e.g.,
/dev/xvdf ). |
void |
setInstanceName(String instanceName)
The name of the Lightsail instance where you want to utilize the storage disk.
|
String |
toString()
Returns a string representation of this object.
|
AttachDiskRequest |
withDiskName(String diskName)
The unique Lightsail disk name (e.g.,
my-disk ). |
AttachDiskRequest |
withDiskPath(String diskPath)
The disk path to expose to the instance (e.g.,
/dev/xvdf ). |
AttachDiskRequest |
withInstanceName(String instanceName)
The name of the Lightsail instance where you want to utilize the storage 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 unique Lightsail disk name (e.g., my-disk
).
diskName
- The unique Lightsail disk name (e.g., my-disk
).public String getDiskName()
The unique Lightsail disk name (e.g., my-disk
).
my-disk
).public AttachDiskRequest withDiskName(String diskName)
The unique Lightsail disk name (e.g., my-disk
).
diskName
- The unique Lightsail disk name (e.g., my-disk
).public void setInstanceName(String instanceName)
The name of the Lightsail instance where you want to utilize the storage disk.
instanceName
- The name of the Lightsail instance where you want to utilize the storage disk.public String getInstanceName()
The name of the Lightsail instance where you want to utilize the storage disk.
public AttachDiskRequest withInstanceName(String instanceName)
The name of the Lightsail instance where you want to utilize the storage disk.
instanceName
- The name of the Lightsail instance where you want to utilize the storage disk.public void setDiskPath(String diskPath)
The disk path to expose to the instance (e.g., /dev/xvdf
).
diskPath
- The disk path to expose to the instance (e.g., /dev/xvdf
).public String getDiskPath()
The disk path to expose to the instance (e.g., /dev/xvdf
).
/dev/xvdf
).public AttachDiskRequest withDiskPath(String diskPath)
The disk path to expose to the instance (e.g., /dev/xvdf
).
diskPath
- The disk path to expose to the instance (e.g., /dev/xvdf
).public String toString()
toString
in class Object
Object.toString()
public AttachDiskRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.