@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateDeviceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateDeviceRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateDeviceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDesiredSoftwareSetId()
The ID of the software set to apply.
|
String |
getId()
The ID of the device to update.
|
String |
getName()
The name of the device to update.
|
String |
getSoftwareSetUpdateSchedule()
An option to define if software updates should be applied within a maintenance window.
|
int |
hashCode() |
void |
setDesiredSoftwareSetId(String desiredSoftwareSetId)
The ID of the software set to apply.
|
void |
setId(String id)
The ID of the device to update.
|
void |
setName(String name)
The name of the device to update.
|
void |
setSoftwareSetUpdateSchedule(String softwareSetUpdateSchedule)
An option to define if software updates should be applied within a maintenance window.
|
String |
toString()
Returns a string representation of this object.
|
UpdateDeviceRequest |
withDesiredSoftwareSetId(String desiredSoftwareSetId)
The ID of the software set to apply.
|
UpdateDeviceRequest |
withId(String id)
The ID of the device to update.
|
UpdateDeviceRequest |
withName(String name)
The name of the device to update.
|
UpdateDeviceRequest |
withSoftwareSetUpdateSchedule(SoftwareSetUpdateSchedule softwareSetUpdateSchedule)
An option to define if software updates should be applied within a maintenance window.
|
UpdateDeviceRequest |
withSoftwareSetUpdateSchedule(String softwareSetUpdateSchedule)
An option to define if software updates should be applied within a maintenance window.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setId(String id)
The ID of the device to update.
id
- The ID of the device to update.public String getId()
The ID of the device to update.
public UpdateDeviceRequest withId(String id)
The ID of the device to update.
id
- The ID of the device to update.public void setName(String name)
The name of the device to update.
name
- The name of the device to update.public String getName()
The name of the device to update.
public UpdateDeviceRequest withName(String name)
The name of the device to update.
name
- The name of the device to update.public void setDesiredSoftwareSetId(String desiredSoftwareSetId)
The ID of the software set to apply.
desiredSoftwareSetId
- The ID of the software set to apply.public String getDesiredSoftwareSetId()
The ID of the software set to apply.
public UpdateDeviceRequest withDesiredSoftwareSetId(String desiredSoftwareSetId)
The ID of the software set to apply.
desiredSoftwareSetId
- The ID of the software set to apply.public void setSoftwareSetUpdateSchedule(String softwareSetUpdateSchedule)
An option to define if software updates should be applied within a maintenance window.
softwareSetUpdateSchedule
- An option to define if software updates should be applied within a maintenance window.SoftwareSetUpdateSchedule
public String getSoftwareSetUpdateSchedule()
An option to define if software updates should be applied within a maintenance window.
SoftwareSetUpdateSchedule
public UpdateDeviceRequest withSoftwareSetUpdateSchedule(String softwareSetUpdateSchedule)
An option to define if software updates should be applied within a maintenance window.
softwareSetUpdateSchedule
- An option to define if software updates should be applied within a maintenance window.SoftwareSetUpdateSchedule
public UpdateDeviceRequest withSoftwareSetUpdateSchedule(SoftwareSetUpdateSchedule softwareSetUpdateSchedule)
An option to define if software updates should be applied within a maintenance window.
softwareSetUpdateSchedule
- An option to define if software updates should be applied within a maintenance window.SoftwareSetUpdateSchedule
public String toString()
toString
in class Object
Object.toString()
public UpdateDeviceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()