@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) |
Boolean |
getAutoMounting()
A Boolean value used to determine the automatic mounting of a storage volume to a virtual computer.
|
String |
getDiskName()
The unique Lightsail disk name (
my-disk ). |
String |
getDiskPath()
The disk path to expose to the instance (
/dev/xvdf ). |
String |
getInstanceName()
The name of the Lightsail instance where you want to utilize the storage disk.
|
int |
hashCode() |
Boolean |
isAutoMounting()
A Boolean value used to determine the automatic mounting of a storage volume to a virtual computer.
|
void |
setAutoMounting(Boolean autoMounting)
A Boolean value used to determine the automatic mounting of a storage volume to a virtual computer.
|
void |
setDiskName(String diskName)
The unique Lightsail disk name (
my-disk ). |
void |
setDiskPath(String diskPath)
The disk path to expose to the instance (
/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 |
withAutoMounting(Boolean autoMounting)
A Boolean value used to determine the automatic mounting of a storage volume to a virtual computer.
|
AttachDiskRequest |
withDiskName(String diskName)
The unique Lightsail disk name (
my-disk ). |
AttachDiskRequest |
withDiskPath(String diskPath)
The disk path to expose to the instance (
/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 (my-disk
).
diskName
- The unique Lightsail disk name (my-disk
).public String getDiskName()
The unique Lightsail disk name (my-disk
).
my-disk
).public AttachDiskRequest withDiskName(String diskName)
The unique Lightsail disk name (my-disk
).
diskName
- The unique Lightsail disk name (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 (/dev/xvdf
).
diskPath
- The disk path to expose to the instance (/dev/xvdf
).public String getDiskPath()
The disk path to expose to the instance (/dev/xvdf
).
/dev/xvdf
).public AttachDiskRequest withDiskPath(String diskPath)
The disk path to expose to the instance (/dev/xvdf
).
diskPath
- The disk path to expose to the instance (/dev/xvdf
).public void setAutoMounting(Boolean autoMounting)
A Boolean value used to determine the automatic mounting of a storage volume to a virtual computer. The default
value is False
.
This value only applies to Lightsail for Research resources.
autoMounting
- A Boolean value used to determine the automatic mounting of a storage volume to a virtual computer. The
default value is False
. This value only applies to Lightsail for Research resources.
public Boolean getAutoMounting()
A Boolean value used to determine the automatic mounting of a storage volume to a virtual computer. The default
value is False
.
This value only applies to Lightsail for Research resources.
False
. This value only applies to Lightsail for Research resources.
public AttachDiskRequest withAutoMounting(Boolean autoMounting)
A Boolean value used to determine the automatic mounting of a storage volume to a virtual computer. The default
value is False
.
This value only applies to Lightsail for Research resources.
autoMounting
- A Boolean value used to determine the automatic mounting of a storage volume to a virtual computer. The
default value is False
. This value only applies to Lightsail for Research resources.
public Boolean isAutoMounting()
A Boolean value used to determine the automatic mounting of a storage volume to a virtual computer. The default
value is False
.
This value only applies to Lightsail for Research resources.
False
. This value only applies to Lightsail for Research resources.
public String toString()
toString
in class Object
Object.toString()
public AttachDiskRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()