@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateDeviceDefinitionVersionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateDeviceDefinitionVersionRequest() |
Modifier and Type | Method and Description |
---|---|
CreateDeviceDefinitionVersionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAmznClientToken()
The client token used to request idempotent operations.
|
String |
getDeviceDefinitionId()
device definition Id
|
List<Device> |
getDevices()
Devices in the definition version.
|
int |
hashCode() |
void |
setAmznClientToken(String amznClientToken)
The client token used to request idempotent operations.
|
void |
setDeviceDefinitionId(String deviceDefinitionId)
device definition Id
|
void |
setDevices(Collection<Device> devices)
Devices in the definition version.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateDeviceDefinitionVersionRequest |
withAmznClientToken(String amznClientToken)
The client token used to request idempotent operations.
|
CreateDeviceDefinitionVersionRequest |
withDeviceDefinitionId(String deviceDefinitionId)
device definition Id
|
CreateDeviceDefinitionVersionRequest |
withDevices(Collection<Device> devices)
Devices in the definition version.
|
CreateDeviceDefinitionVersionRequest |
withDevices(Device... devices)
Devices in the definition version.
|
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 CreateDeviceDefinitionVersionRequest()
public void setAmznClientToken(String amznClientToken)
amznClientToken
- The client token used to request idempotent operations.public String getAmznClientToken()
public CreateDeviceDefinitionVersionRequest withAmznClientToken(String amznClientToken)
amznClientToken
- The client token used to request idempotent operations.public void setDeviceDefinitionId(String deviceDefinitionId)
deviceDefinitionId
- device definition Idpublic String getDeviceDefinitionId()
public CreateDeviceDefinitionVersionRequest withDeviceDefinitionId(String deviceDefinitionId)
deviceDefinitionId
- device definition Idpublic List<Device> getDevices()
public void setDevices(Collection<Device> devices)
devices
- Devices in the definition version.public CreateDeviceDefinitionVersionRequest withDevices(Device... devices)
NOTE: This method appends the values to the existing list (if any). Use
setDevices(java.util.Collection)
or withDevices(java.util.Collection)
if you want to override
the existing values.
devices
- Devices in the definition version.public CreateDeviceDefinitionVersionRequest withDevices(Collection<Device> devices)
devices
- Devices in the definition version.public String toString()
toString
in class Object
Object.toString()
public CreateDeviceDefinitionVersionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.