@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Parameters extends Object implements Serializable, Cloneable, StructuredPojo
Specifies optional parameters to add to a policy. The set of valid parameters depends on the combination of policy type and resource type.
Constructor and Description |
---|
Parameters() |
Modifier and Type | Method and Description |
---|---|
Parameters |
clone() |
boolean |
equals(Object obj) |
Boolean |
getExcludeBootVolume()
[EBS Snapshot Management – Instance policies only] Indicates whether to exclude the root volume from snapshots
created using CreateSnapshots.
|
Boolean |
getNoReboot()
Applies to AMI lifecycle policies only.
|
int |
hashCode() |
Boolean |
isExcludeBootVolume()
[EBS Snapshot Management – Instance policies only] Indicates whether to exclude the root volume from snapshots
created using CreateSnapshots.
|
Boolean |
isNoReboot()
Applies to AMI lifecycle policies only.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setExcludeBootVolume(Boolean excludeBootVolume)
[EBS Snapshot Management – Instance policies only] Indicates whether to exclude the root volume from snapshots
created using CreateSnapshots.
|
void |
setNoReboot(Boolean noReboot)
Applies to AMI lifecycle policies only.
|
String |
toString()
Returns a string representation of this object.
|
Parameters |
withExcludeBootVolume(Boolean excludeBootVolume)
[EBS Snapshot Management – Instance policies only] Indicates whether to exclude the root volume from snapshots
created using CreateSnapshots.
|
Parameters |
withNoReboot(Boolean noReboot)
Applies to AMI lifecycle policies only.
|
public void setExcludeBootVolume(Boolean excludeBootVolume)
[EBS Snapshot Management – Instance policies only] Indicates whether to exclude the root volume from snapshots created using CreateSnapshots. The default is false.
excludeBootVolume
- [EBS Snapshot Management – Instance policies only] Indicates whether to exclude the root volume from
snapshots created using CreateSnapshots. The default is false.public Boolean getExcludeBootVolume()
[EBS Snapshot Management – Instance policies only] Indicates whether to exclude the root volume from snapshots created using CreateSnapshots. The default is false.
public Parameters withExcludeBootVolume(Boolean excludeBootVolume)
[EBS Snapshot Management – Instance policies only] Indicates whether to exclude the root volume from snapshots created using CreateSnapshots. The default is false.
excludeBootVolume
- [EBS Snapshot Management – Instance policies only] Indicates whether to exclude the root volume from
snapshots created using CreateSnapshots. The default is false.public Boolean isExcludeBootVolume()
[EBS Snapshot Management – Instance policies only] Indicates whether to exclude the root volume from snapshots created using CreateSnapshots. The default is false.
public void setNoReboot(Boolean noReboot)
Applies to AMI lifecycle policies only. Indicates whether targeted instances are rebooted when the lifecycle
policy runs. true
indicates that targeted instances are not rebooted when the policy runs.
false
indicates that target instances are rebooted when the policy runs. The default is
true
(instances are not rebooted).
noReboot
- Applies to AMI lifecycle policies only. Indicates whether targeted instances are rebooted when the
lifecycle policy runs. true
indicates that targeted instances are not rebooted when the
policy runs. false
indicates that target instances are rebooted when the policy runs. The
default is true
(instances are not rebooted).public Boolean getNoReboot()
Applies to AMI lifecycle policies only. Indicates whether targeted instances are rebooted when the lifecycle
policy runs. true
indicates that targeted instances are not rebooted when the policy runs.
false
indicates that target instances are rebooted when the policy runs. The default is
true
(instances are not rebooted).
true
indicates that targeted instances are not rebooted when the
policy runs. false
indicates that target instances are rebooted when the policy runs. The
default is true
(instances are not rebooted).public Parameters withNoReboot(Boolean noReboot)
Applies to AMI lifecycle policies only. Indicates whether targeted instances are rebooted when the lifecycle
policy runs. true
indicates that targeted instances are not rebooted when the policy runs.
false
indicates that target instances are rebooted when the policy runs. The default is
true
(instances are not rebooted).
noReboot
- Applies to AMI lifecycle policies only. Indicates whether targeted instances are rebooted when the
lifecycle policy runs. true
indicates that targeted instances are not rebooted when the
policy runs. false
indicates that target instances are rebooted when the policy runs. The
default is true
(instances are not rebooted).public Boolean isNoReboot()
Applies to AMI lifecycle policies only. Indicates whether targeted instances are rebooted when the lifecycle
policy runs. true
indicates that targeted instances are not rebooted when the policy runs.
false
indicates that target instances are rebooted when the policy runs. The default is
true
(instances are not rebooted).
true
indicates that targeted instances are not rebooted when the
policy runs. false
indicates that target instances are rebooted when the policy runs. The
default is true
(instances are not rebooted).public String toString()
toString
in class Object
Object.toString()
public Parameters clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.