@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateDiskFromSnapshotRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateDiskFromSnapshotRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateDiskFromSnapshotRequest |
clone() |
boolean |
equals(Object obj) |
String |
getAvailabilityZone()
The Availability Zone where you want to create the disk (e.g.,
us-east-2a). |
String |
getDiskName()
The unique Lightsail disk name (e.g.,
my-disk). |
String |
getDiskSnapshotName()
The name of the disk snapshot (e.g.,
my-snapshot) from which to create the new storage disk. |
Integer |
getSizeInGb()
The size of the disk in GB (e.g.,
32). |
int |
hashCode() |
void |
setAvailabilityZone(String availabilityZone)
The Availability Zone where you want to create the disk (e.g.,
us-east-2a). |
void |
setDiskName(String diskName)
The unique Lightsail disk name (e.g.,
my-disk). |
void |
setDiskSnapshotName(String diskSnapshotName)
The name of the disk snapshot (e.g.,
my-snapshot) from which to create the new storage disk. |
void |
setSizeInGb(Integer sizeInGb)
The size of the disk in GB (e.g.,
32). |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateDiskFromSnapshotRequest |
withAvailabilityZone(String availabilityZone)
The Availability Zone where you want to create the disk (e.g.,
us-east-2a). |
CreateDiskFromSnapshotRequest |
withDiskName(String diskName)
The unique Lightsail disk name (e.g.,
my-disk). |
CreateDiskFromSnapshotRequest |
withDiskSnapshotName(String diskSnapshotName)
The name of the disk snapshot (e.g.,
my-snapshot) from which to create the new storage disk. |
CreateDiskFromSnapshotRequest |
withSizeInGb(Integer sizeInGb)
The size of the disk in GB (e.g.,
32). |
addHandlerContext, copyBaseTo, 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, withSdkRequestTimeoutpublic 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 CreateDiskFromSnapshotRequest withDiskName(String diskName)
The unique Lightsail disk name (e.g., my-disk).
diskName - The unique Lightsail disk name (e.g., my-disk).public void setDiskSnapshotName(String diskSnapshotName)
The name of the disk snapshot (e.g., my-snapshot) from which to create the new storage disk.
diskSnapshotName - The name of the disk snapshot (e.g., my-snapshot) from which to create the new storage disk.public String getDiskSnapshotName()
The name of the disk snapshot (e.g., my-snapshot) from which to create the new storage disk.
my-snapshot) from which to create the new storage disk.public CreateDiskFromSnapshotRequest withDiskSnapshotName(String diskSnapshotName)
The name of the disk snapshot (e.g., my-snapshot) from which to create the new storage disk.
diskSnapshotName - The name of the disk snapshot (e.g., my-snapshot) from which to create the new storage disk.public void setAvailabilityZone(String availabilityZone)
The Availability Zone where you want to create the disk (e.g., us-east-2a). Choose the same
Availability Zone as the Lightsail instance where you want to create the disk.
Use the GetRegions operation to list the Availability Zones where Lightsail is currently available.
availabilityZone - The Availability Zone where you want to create the disk (e.g., us-east-2a). Choose the same
Availability Zone as the Lightsail instance where you want to create the disk.
Use the GetRegions operation to list the Availability Zones where Lightsail is currently available.
public String getAvailabilityZone()
The Availability Zone where you want to create the disk (e.g., us-east-2a). Choose the same
Availability Zone as the Lightsail instance where you want to create the disk.
Use the GetRegions operation to list the Availability Zones where Lightsail is currently available.
us-east-2a). Choose the same
Availability Zone as the Lightsail instance where you want to create the disk.
Use the GetRegions operation to list the Availability Zones where Lightsail is currently available.
public CreateDiskFromSnapshotRequest withAvailabilityZone(String availabilityZone)
The Availability Zone where you want to create the disk (e.g., us-east-2a). Choose the same
Availability Zone as the Lightsail instance where you want to create the disk.
Use the GetRegions operation to list the Availability Zones where Lightsail is currently available.
availabilityZone - The Availability Zone where you want to create the disk (e.g., us-east-2a). Choose the same
Availability Zone as the Lightsail instance where you want to create the disk.
Use the GetRegions operation to list the Availability Zones where Lightsail is currently available.
public void setSizeInGb(Integer sizeInGb)
The size of the disk in GB (e.g., 32).
sizeInGb - The size of the disk in GB (e.g., 32).public Integer getSizeInGb()
The size of the disk in GB (e.g., 32).
32).public CreateDiskFromSnapshotRequest withSizeInGb(Integer sizeInGb)
The size of the disk in GB (e.g., 32).
sizeInGb - The size of the disk in GB (e.g., 32).public String toString()
toString in class ObjectObject.toString()public CreateDiskFromSnapshotRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2017. All rights reserved.