@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FastRestoreRule extends Object implements Serializable, Cloneable, StructuredPojo
Specifies when to enable fast snapshot restore.
| Constructor and Description |
|---|
FastRestoreRule() |
| Modifier and Type | Method and Description |
|---|---|
FastRestoreRule |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAvailabilityZones()
The Availability Zones in which to enable fast snapshot restore.
|
Integer |
getCount()
The number of snapshots to be enabled with fast snapshot restore.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAvailabilityZones(Collection<String> availabilityZones)
The Availability Zones in which to enable fast snapshot restore.
|
void |
setCount(Integer count)
The number of snapshots to be enabled with fast snapshot restore.
|
String |
toString()
Returns a string representation of this object.
|
FastRestoreRule |
withAvailabilityZones(Collection<String> availabilityZones)
The Availability Zones in which to enable fast snapshot restore.
|
FastRestoreRule |
withAvailabilityZones(String... availabilityZones)
The Availability Zones in which to enable fast snapshot restore.
|
FastRestoreRule |
withCount(Integer count)
The number of snapshots to be enabled with fast snapshot restore.
|
public void setCount(Integer count)
The number of snapshots to be enabled with fast snapshot restore.
count - The number of snapshots to be enabled with fast snapshot restore.public Integer getCount()
The number of snapshots to be enabled with fast snapshot restore.
public FastRestoreRule withCount(Integer count)
The number of snapshots to be enabled with fast snapshot restore.
count - The number of snapshots to be enabled with fast snapshot restore.public List<String> getAvailabilityZones()
The Availability Zones in which to enable fast snapshot restore.
public void setAvailabilityZones(Collection<String> availabilityZones)
The Availability Zones in which to enable fast snapshot restore.
availabilityZones - The Availability Zones in which to enable fast snapshot restore.public FastRestoreRule withAvailabilityZones(String... availabilityZones)
The Availability Zones in which to enable fast snapshot restore.
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 - The Availability Zones in which to enable fast snapshot restore.public FastRestoreRule withAvailabilityZones(Collection<String> availabilityZones)
The Availability Zones in which to enable fast snapshot restore.
availabilityZones - The Availability Zones in which to enable fast snapshot restore.public String toString()
toString in class ObjectObject.toString()public FastRestoreRule clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.