@Generated(value="software.amazon.awssdk:codegen") public final class CreateDeviceDefinitionVersionRequest extends GreengrassRequest implements ToCopyableBuilder<CreateDeviceDefinitionVersionRequest.Builder,CreateDeviceDefinitionVersionRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateDeviceDefinitionVersionRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
amznClientToken()
A client token used to correlate requests and responses.
|
static CreateDeviceDefinitionVersionRequest.Builder |
builder() |
String |
deviceDefinitionId()
The ID of the device definition.
|
List<Device> |
devices()
A list of devices in the definition version.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasDevices()
Returns true if the Devices property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateDeviceDefinitionVersionRequest.Builder> |
serializableBuilderClass() |
CreateDeviceDefinitionVersionRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String amznClientToken()
public String deviceDefinitionId()
public boolean hasDevices()
public List<Device> devices()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasDevices() to see if a value was sent in this field.
public CreateDeviceDefinitionVersionRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateDeviceDefinitionVersionRequest.Builder,CreateDeviceDefinitionVersionRequest>toBuilder in class GreengrassRequestpublic static CreateDeviceDefinitionVersionRequest.Builder builder()
public static Class<? extends CreateDeviceDefinitionVersionRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.