@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EnableFastSnapshotRestoresRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<EnableFastSnapshotRestoresRequest>
NOOP
Constructor and Description |
---|
EnableFastSnapshotRestoresRequest() |
Modifier and Type | Method and Description |
---|---|
EnableFastSnapshotRestoresRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getAvailabilityZones()
One or more Availability Zones.
|
Request<EnableFastSnapshotRestoresRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
List<String> |
getSourceSnapshotIds()
The IDs of one or more snapshots.
|
int |
hashCode() |
void |
setAvailabilityZones(Collection<String> availabilityZones)
One or more Availability Zones.
|
void |
setSourceSnapshotIds(Collection<String> sourceSnapshotIds)
The IDs of one or more snapshots.
|
String |
toString()
Returns a string representation of this object.
|
EnableFastSnapshotRestoresRequest |
withAvailabilityZones(Collection<String> availabilityZones)
One or more Availability Zones.
|
EnableFastSnapshotRestoresRequest |
withAvailabilityZones(String... availabilityZones)
One or more Availability Zones.
|
EnableFastSnapshotRestoresRequest |
withSourceSnapshotIds(Collection<String> sourceSnapshotIds)
The IDs of one or more snapshots.
|
EnableFastSnapshotRestoresRequest |
withSourceSnapshotIds(String... sourceSnapshotIds)
The IDs of one or more snapshots.
|
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 List<String> getAvailabilityZones()
One or more Availability Zones. For example, us-east-2a
.
us-east-2a
.public void setAvailabilityZones(Collection<String> availabilityZones)
One or more Availability Zones. For example, us-east-2a
.
availabilityZones
- One or more Availability Zones. For example, us-east-2a
.public EnableFastSnapshotRestoresRequest withAvailabilityZones(String... availabilityZones)
One or more Availability Zones. For example, us-east-2a
.
NOTE: This method appends the values to the existing list (if any). Use
setAvailabilityZones(java.util.Collection)
or withAvailabilityZones(java.util.Collection)
if
you want to override the existing values.
availabilityZones
- One or more Availability Zones. For example, us-east-2a
.public EnableFastSnapshotRestoresRequest withAvailabilityZones(Collection<String> availabilityZones)
One or more Availability Zones. For example, us-east-2a
.
availabilityZones
- One or more Availability Zones. For example, us-east-2a
.public List<String> getSourceSnapshotIds()
The IDs of one or more snapshots. For example, snap-1234567890abcdef0
. You can specify a snapshot
that was shared with you from another Amazon Web Services account.
snap-1234567890abcdef0
. You can specify a
snapshot that was shared with you from another Amazon Web Services account.public void setSourceSnapshotIds(Collection<String> sourceSnapshotIds)
The IDs of one or more snapshots. For example, snap-1234567890abcdef0
. You can specify a snapshot
that was shared with you from another Amazon Web Services account.
sourceSnapshotIds
- The IDs of one or more snapshots. For example, snap-1234567890abcdef0
. You can specify a
snapshot that was shared with you from another Amazon Web Services account.public EnableFastSnapshotRestoresRequest withSourceSnapshotIds(String... sourceSnapshotIds)
The IDs of one or more snapshots. For example, snap-1234567890abcdef0
. You can specify a snapshot
that was shared with you from another Amazon Web Services account.
NOTE: This method appends the values to the existing list (if any). Use
setSourceSnapshotIds(java.util.Collection)
or withSourceSnapshotIds(java.util.Collection)
if
you want to override the existing values.
sourceSnapshotIds
- The IDs of one or more snapshots. For example, snap-1234567890abcdef0
. You can specify a
snapshot that was shared with you from another Amazon Web Services account.public EnableFastSnapshotRestoresRequest withSourceSnapshotIds(Collection<String> sourceSnapshotIds)
The IDs of one or more snapshots. For example, snap-1234567890abcdef0
. You can specify a snapshot
that was shared with you from another Amazon Web Services account.
sourceSnapshotIds
- The IDs of one or more snapshots. For example, snap-1234567890abcdef0
. You can specify a
snapshot that was shared with you from another Amazon Web Services account.public Request<EnableFastSnapshotRestoresRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<EnableFastSnapshotRestoresRequest>
public String toString()
toString
in class Object
Object.toString()
public EnableFastSnapshotRestoresRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()