@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) |
AWSLocation |
getAWSLocation()
The Amazon Web Services location of the device, if applicable.
|
String |
getDescription()
A description of the device.
|
String |
getDeviceId()
The ID of the device.
|
String |
getGlobalNetworkId()
The ID of the global network.
|
Location |
getLocation() |
String |
getModel()
The model of the device.
|
String |
getSerialNumber()
The serial number of the device.
|
String |
getSiteId()
The ID of the site.
|
String |
getType()
The type of the device.
|
String |
getVendor()
The vendor of the device.
|
int |
hashCode() |
void |
setAWSLocation(AWSLocation aWSLocation)
The Amazon Web Services location of the device, if applicable.
|
void |
setDescription(String description)
A description of the device.
|
void |
setDeviceId(String deviceId)
The ID of the device.
|
void |
setGlobalNetworkId(String globalNetworkId)
The ID of the global network.
|
void |
setLocation(Location location) |
void |
setModel(String model)
The model of the device.
|
void |
setSerialNumber(String serialNumber)
The serial number of the device.
|
void |
setSiteId(String siteId)
The ID of the site.
|
void |
setType(String type)
The type of the device.
|
void |
setVendor(String vendor)
The vendor of the device.
|
String |
toString()
Returns a string representation of this object.
|
UpdateDeviceRequest |
withAWSLocation(AWSLocation aWSLocation)
The Amazon Web Services location of the device, if applicable.
|
UpdateDeviceRequest |
withDescription(String description)
A description of the device.
|
UpdateDeviceRequest |
withDeviceId(String deviceId)
The ID of the device.
|
UpdateDeviceRequest |
withGlobalNetworkId(String globalNetworkId)
The ID of the global network.
|
UpdateDeviceRequest |
withLocation(Location location) |
UpdateDeviceRequest |
withModel(String model)
The model of the device.
|
UpdateDeviceRequest |
withSerialNumber(String serialNumber)
The serial number of the device.
|
UpdateDeviceRequest |
withSiteId(String siteId)
The ID of the site.
|
UpdateDeviceRequest |
withType(String type)
The type of the device.
|
UpdateDeviceRequest |
withVendor(String vendor)
The vendor of the device.
|
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 setGlobalNetworkId(String globalNetworkId)
The ID of the global network.
globalNetworkId
- The ID of the global network.public String getGlobalNetworkId()
The ID of the global network.
public UpdateDeviceRequest withGlobalNetworkId(String globalNetworkId)
The ID of the global network.
globalNetworkId
- The ID of the global network.public void setDeviceId(String deviceId)
The ID of the device.
deviceId
- The ID of the device.public String getDeviceId()
The ID of the device.
public UpdateDeviceRequest withDeviceId(String deviceId)
The ID of the device.
deviceId
- The ID of the device.public void setAWSLocation(AWSLocation aWSLocation)
The Amazon Web Services location of the device, if applicable. For an on-premises device, you can omit this parameter.
aWSLocation
- The Amazon Web Services location of the device, if applicable. For an on-premises device, you can omit
this parameter.public AWSLocation getAWSLocation()
The Amazon Web Services location of the device, if applicable. For an on-premises device, you can omit this parameter.
public UpdateDeviceRequest withAWSLocation(AWSLocation aWSLocation)
The Amazon Web Services location of the device, if applicable. For an on-premises device, you can omit this parameter.
aWSLocation
- The Amazon Web Services location of the device, if applicable. For an on-premises device, you can omit
this parameter.public void setDescription(String description)
A description of the device.
Constraints: Maximum length of 256 characters.
description
- A description of the device.
Constraints: Maximum length of 256 characters.
public String getDescription()
A description of the device.
Constraints: Maximum length of 256 characters.
Constraints: Maximum length of 256 characters.
public UpdateDeviceRequest withDescription(String description)
A description of the device.
Constraints: Maximum length of 256 characters.
description
- A description of the device.
Constraints: Maximum length of 256 characters.
public void setType(String type)
The type of the device.
type
- The type of the device.public String getType()
The type of the device.
public UpdateDeviceRequest withType(String type)
The type of the device.
type
- The type of the device.public void setVendor(String vendor)
The vendor of the device.
Constraints: Maximum length of 128 characters.
vendor
- The vendor of the device.
Constraints: Maximum length of 128 characters.
public String getVendor()
The vendor of the device.
Constraints: Maximum length of 128 characters.
Constraints: Maximum length of 128 characters.
public UpdateDeviceRequest withVendor(String vendor)
The vendor of the device.
Constraints: Maximum length of 128 characters.
vendor
- The vendor of the device.
Constraints: Maximum length of 128 characters.
public void setModel(String model)
The model of the device.
Constraints: Maximum length of 128 characters.
model
- The model of the device.
Constraints: Maximum length of 128 characters.
public String getModel()
The model of the device.
Constraints: Maximum length of 128 characters.
Constraints: Maximum length of 128 characters.
public UpdateDeviceRequest withModel(String model)
The model of the device.
Constraints: Maximum length of 128 characters.
model
- The model of the device.
Constraints: Maximum length of 128 characters.
public void setSerialNumber(String serialNumber)
The serial number of the device.
Constraints: Maximum length of 128 characters.
serialNumber
- The serial number of the device.
Constraints: Maximum length of 128 characters.
public String getSerialNumber()
The serial number of the device.
Constraints: Maximum length of 128 characters.
Constraints: Maximum length of 128 characters.
public UpdateDeviceRequest withSerialNumber(String serialNumber)
The serial number of the device.
Constraints: Maximum length of 128 characters.
serialNumber
- The serial number of the device.
Constraints: Maximum length of 128 characters.
public void setLocation(Location location)
location
- public Location getLocation()
public UpdateDeviceRequest withLocation(Location location)
location
- public void setSiteId(String siteId)
The ID of the site.
siteId
- The ID of the site.public String getSiteId()
The ID of the site.
public UpdateDeviceRequest withSiteId(String siteId)
The ID of the site.
siteId
- The ID of the site.public String toString()
toString
in class Object
Object.toString()
public UpdateDeviceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()