@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OTAJobConfig extends Object implements Serializable, Cloneable, StructuredPojo
An over-the-air update (OTA) job configuration.
| Constructor and Description |
|---|
OTAJobConfig() |
| Modifier and Type | Method and Description |
|---|---|
OTAJobConfig |
clone() |
boolean |
equals(Object obj) |
Boolean |
getAllowMajorVersionUpdate()
Whether to apply the update if it is a major version change.
|
String |
getImageVersion()
The target version of the device software.
|
int |
hashCode() |
Boolean |
isAllowMajorVersionUpdate()
Whether to apply the update if it is a major version change.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAllowMajorVersionUpdate(Boolean allowMajorVersionUpdate)
Whether to apply the update if it is a major version change.
|
void |
setImageVersion(String imageVersion)
The target version of the device software.
|
String |
toString()
Returns a string representation of this object.
|
OTAJobConfig |
withAllowMajorVersionUpdate(Boolean allowMajorVersionUpdate)
Whether to apply the update if it is a major version change.
|
OTAJobConfig |
withImageVersion(String imageVersion)
The target version of the device software.
|
public void setAllowMajorVersionUpdate(Boolean allowMajorVersionUpdate)
Whether to apply the update if it is a major version change.
allowMajorVersionUpdate - Whether to apply the update if it is a major version change.public Boolean getAllowMajorVersionUpdate()
Whether to apply the update if it is a major version change.
public OTAJobConfig withAllowMajorVersionUpdate(Boolean allowMajorVersionUpdate)
Whether to apply the update if it is a major version change.
allowMajorVersionUpdate - Whether to apply the update if it is a major version change.public Boolean isAllowMajorVersionUpdate()
Whether to apply the update if it is a major version change.
public void setImageVersion(String imageVersion)
The target version of the device software.
imageVersion - The target version of the device software.public String getImageVersion()
The target version of the device software.
public OTAJobConfig withImageVersion(String imageVersion)
The target version of the device software.
imageVersion - The target version of the device software.public String toString()
toString in class ObjectObject.toString()public OTAJobConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.