@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SoftwareUpdatePreferences extends Object implements Serializable, Cloneable, StructuredPojo
A set of variables indicating the software update preferences for the gateway.
| Constructor and Description |
|---|
SoftwareUpdatePreferences() |
| Modifier and Type | Method and Description |
|---|---|
SoftwareUpdatePreferences |
clone() |
boolean |
equals(Object obj) |
String |
getAutomaticUpdatePolicy()
Indicates the automatic update policy for a gateway.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAutomaticUpdatePolicy(String automaticUpdatePolicy)
Indicates the automatic update policy for a gateway.
|
String |
toString()
Returns a string representation of this object.
|
SoftwareUpdatePreferences |
withAutomaticUpdatePolicy(AutomaticUpdatePolicy automaticUpdatePolicy)
Indicates the automatic update policy for a gateway.
|
SoftwareUpdatePreferences |
withAutomaticUpdatePolicy(String automaticUpdatePolicy)
Indicates the automatic update policy for a gateway.
|
public void setAutomaticUpdatePolicy(String automaticUpdatePolicy)
Indicates the automatic update policy for a gateway.
ALL_VERSIONS - Enables regular gateway maintenance updates.
EMERGENCY_VERSIONS_ONLY - Disables regular gateway maintenance updates.
automaticUpdatePolicy - Indicates the automatic update policy for a gateway.
ALL_VERSIONS - Enables regular gateway maintenance updates.
EMERGENCY_VERSIONS_ONLY - Disables regular gateway maintenance updates.
AutomaticUpdatePolicypublic String getAutomaticUpdatePolicy()
Indicates the automatic update policy for a gateway.
ALL_VERSIONS - Enables regular gateway maintenance updates.
EMERGENCY_VERSIONS_ONLY - Disables regular gateway maintenance updates.
ALL_VERSIONS - Enables regular gateway maintenance updates.
EMERGENCY_VERSIONS_ONLY - Disables regular gateway maintenance updates.
AutomaticUpdatePolicypublic SoftwareUpdatePreferences withAutomaticUpdatePolicy(String automaticUpdatePolicy)
Indicates the automatic update policy for a gateway.
ALL_VERSIONS - Enables regular gateway maintenance updates.
EMERGENCY_VERSIONS_ONLY - Disables regular gateway maintenance updates.
automaticUpdatePolicy - Indicates the automatic update policy for a gateway.
ALL_VERSIONS - Enables regular gateway maintenance updates.
EMERGENCY_VERSIONS_ONLY - Disables regular gateway maintenance updates.
AutomaticUpdatePolicypublic SoftwareUpdatePreferences withAutomaticUpdatePolicy(AutomaticUpdatePolicy automaticUpdatePolicy)
Indicates the automatic update policy for a gateway.
ALL_VERSIONS - Enables regular gateway maintenance updates.
EMERGENCY_VERSIONS_ONLY - Disables regular gateway maintenance updates.
automaticUpdatePolicy - Indicates the automatic update policy for a gateway.
ALL_VERSIONS - Enables regular gateway maintenance updates.
EMERGENCY_VERSIONS_ONLY - Disables regular gateway maintenance updates.
AutomaticUpdatePolicypublic String toString()
toString in class ObjectObject.toString()public SoftwareUpdatePreferences clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.