@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InstanceSpecification extends Object implements Serializable, Cloneable
The instance details to specify which volumes should be snapshotted.
Constructor and Description |
---|
InstanceSpecification() |
Modifier and Type | Method and Description |
---|---|
InstanceSpecification |
clone() |
boolean |
equals(Object obj) |
Boolean |
getExcludeBootVolume()
Excludes the root volume from being snapshotted.
|
String |
getInstanceId()
The instance to specify which volumes should be snapshotted.
|
int |
hashCode() |
Boolean |
isExcludeBootVolume()
Excludes the root volume from being snapshotted.
|
void |
setExcludeBootVolume(Boolean excludeBootVolume)
Excludes the root volume from being snapshotted.
|
void |
setInstanceId(String instanceId)
The instance to specify which volumes should be snapshotted.
|
String |
toString()
Returns a string representation of this object.
|
InstanceSpecification |
withExcludeBootVolume(Boolean excludeBootVolume)
Excludes the root volume from being snapshotted.
|
InstanceSpecification |
withInstanceId(String instanceId)
The instance to specify which volumes should be snapshotted.
|
public void setInstanceId(String instanceId)
The instance to specify which volumes should be snapshotted.
instanceId
- The instance to specify which volumes should be snapshotted.public String getInstanceId()
The instance to specify which volumes should be snapshotted.
public InstanceSpecification withInstanceId(String instanceId)
The instance to specify which volumes should be snapshotted.
instanceId
- The instance to specify which volumes should be snapshotted.public void setExcludeBootVolume(Boolean excludeBootVolume)
Excludes the root volume from being snapshotted.
excludeBootVolume
- Excludes the root volume from being snapshotted.public Boolean getExcludeBootVolume()
Excludes the root volume from being snapshotted.
public InstanceSpecification withExcludeBootVolume(Boolean excludeBootVolume)
Excludes the root volume from being snapshotted.
excludeBootVolume
- Excludes the root volume from being snapshotted.public Boolean isExcludeBootVolume()
Excludes the root volume from being snapshotted.
public String toString()
toString
in class Object
Object.toString()
public InstanceSpecification clone()