@Generated(value="software.amazon.awssdk:codegen") public final class CreateVehicleRequestItem extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CreateVehicleRequestItem.Builder,CreateVehicleRequestItem>
Information about the vehicle to create.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateVehicleRequestItem.Builder |
| Modifier and Type | Method and Description |
|---|---|
VehicleAssociationBehavior |
associationBehavior()
An option to create a new Amazon Web Services IoT thing when creating a vehicle, or to validate an existing thing
as a vehicle.
|
String |
associationBehaviorAsString()
An option to create a new Amazon Web Services IoT thing when creating a vehicle, or to validate an existing thing
as a vehicle.
|
Map<String,String> |
attributes()
Static information about a vehicle in a key-value pair.
|
static CreateVehicleRequestItem.Builder |
builder() |
String |
decoderManifestArn()
The Amazon Resource Name (ARN) of a decoder manifest associated with the vehicle to create.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAttributes()
For responses, this returns true if the service returned a value for the Attributes property.
|
int |
hashCode() |
boolean |
hasTags()
For responses, this returns true if the service returned a value for the Tags property.
|
String |
modelManifestArn()
The ARN of the vehicle model (model manifest) to create the vehicle from.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateVehicleRequestItem.Builder> |
serializableBuilderClass() |
List<Tag> |
tags()
Metadata which can be used to manage the vehicle.
|
CreateVehicleRequestItem.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
vehicleName()
The unique ID of the vehicle to create.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String vehicleName()
The unique ID of the vehicle to create.
public final String modelManifestArn()
The ARN of the vehicle model (model manifest) to create the vehicle from.
public final String decoderManifestArn()
The Amazon Resource Name (ARN) of a decoder manifest associated with the vehicle to create.
public final boolean hasAttributes()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final Map<String,String> attributes()
Static information about a vehicle in a key-value pair. For example: "engine Type" :
"v6"
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasAttributes() method.
"engine Type" :
"v6"public final VehicleAssociationBehavior associationBehavior()
An option to create a new Amazon Web Services IoT thing when creating a vehicle, or to validate an existing thing as a vehicle.
If the service returns an enum value that is not available in the current SDK version,
associationBehavior will return VehicleAssociationBehavior.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from associationBehaviorAsString().
VehicleAssociationBehaviorpublic final String associationBehaviorAsString()
An option to create a new Amazon Web Services IoT thing when creating a vehicle, or to validate an existing thing as a vehicle.
If the service returns an enum value that is not available in the current SDK version,
associationBehavior will return VehicleAssociationBehavior.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from associationBehaviorAsString().
VehicleAssociationBehaviorpublic final boolean hasTags()
isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.public final List<Tag> tags()
Metadata which can be used to manage the vehicle.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTags() method.
public CreateVehicleRequestItem.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateVehicleRequestItem.Builder,CreateVehicleRequestItem>public static CreateVehicleRequestItem.Builder builder()
public static Class<? extends CreateVehicleRequestItem.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.