@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateVehicleRequestItem extends Object implements Serializable, Cloneable, StructuredPojo
Information about the vehicle to create.
Constructor and Description |
---|
CreateVehicleRequestItem() |
Modifier and Type | Method and Description |
---|---|
CreateVehicleRequestItem |
addAttributesEntry(String key,
String value)
Add a single Attributes entry
|
CreateVehicleRequestItem |
clearAttributesEntries()
Removes all the entries added into Attributes.
|
CreateVehicleRequestItem |
clone() |
boolean |
equals(Object obj) |
String |
getAssociationBehavior()
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> |
getAttributes()
Static information about a vehicle in a key-value pair.
|
String |
getDecoderManifestArn()
The Amazon Resource Name (ARN) of a decoder manifest associated with the vehicle to create.
|
String |
getModelManifestArn()
The ARN of the vehicle model (model manifest) to create the vehicle from.
|
List<Tag> |
getTags()
Metadata which can be used to manage the vehicle.
|
String |
getVehicleName()
The unique ID of the vehicle to create.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAssociationBehavior(String 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.
|
void |
setAttributes(Map<String,String> attributes)
Static information about a vehicle in a key-value pair.
|
void |
setDecoderManifestArn(String decoderManifestArn)
The Amazon Resource Name (ARN) of a decoder manifest associated with the vehicle to create.
|
void |
setModelManifestArn(String modelManifestArn)
The ARN of the vehicle model (model manifest) to create the vehicle from.
|
void |
setTags(Collection<Tag> tags)
Metadata which can be used to manage the vehicle.
|
void |
setVehicleName(String vehicleName)
The unique ID of the vehicle to create.
|
String |
toString()
Returns a string representation of this object.
|
CreateVehicleRequestItem |
withAssociationBehavior(String 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.
|
CreateVehicleRequestItem |
withAssociationBehavior(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.
|
CreateVehicleRequestItem |
withAttributes(Map<String,String> attributes)
Static information about a vehicle in a key-value pair.
|
CreateVehicleRequestItem |
withDecoderManifestArn(String decoderManifestArn)
The Amazon Resource Name (ARN) of a decoder manifest associated with the vehicle to create.
|
CreateVehicleRequestItem |
withModelManifestArn(String modelManifestArn)
The ARN of the vehicle model (model manifest) to create the vehicle from.
|
CreateVehicleRequestItem |
withTags(Collection<Tag> tags)
Metadata which can be used to manage the vehicle.
|
CreateVehicleRequestItem |
withTags(Tag... tags)
Metadata which can be used to manage the vehicle.
|
CreateVehicleRequestItem |
withVehicleName(String vehicleName)
The unique ID of the vehicle to create.
|
public void setVehicleName(String vehicleName)
The unique ID of the vehicle to create.
vehicleName
- The unique ID of the vehicle to create.public String getVehicleName()
The unique ID of the vehicle to create.
public CreateVehicleRequestItem withVehicleName(String vehicleName)
The unique ID of the vehicle to create.
vehicleName
- The unique ID of the vehicle to create.public void setModelManifestArn(String modelManifestArn)
The ARN of the vehicle model (model manifest) to create the vehicle from.
modelManifestArn
- The ARN of the vehicle model (model manifest) to create the vehicle from.public String getModelManifestArn()
The ARN of the vehicle model (model manifest) to create the vehicle from.
public CreateVehicleRequestItem withModelManifestArn(String modelManifestArn)
The ARN of the vehicle model (model manifest) to create the vehicle from.
modelManifestArn
- The ARN of the vehicle model (model manifest) to create the vehicle from.public void setDecoderManifestArn(String decoderManifestArn)
The Amazon Resource Name (ARN) of a decoder manifest associated with the vehicle to create.
decoderManifestArn
- The Amazon Resource Name (ARN) of a decoder manifest associated with the vehicle to create.public String getDecoderManifestArn()
The Amazon Resource Name (ARN) of a decoder manifest associated with the vehicle to create.
public CreateVehicleRequestItem withDecoderManifestArn(String decoderManifestArn)
The Amazon Resource Name (ARN) of a decoder manifest associated with the vehicle to create.
decoderManifestArn
- The Amazon Resource Name (ARN) of a decoder manifest associated with the vehicle to create.public Map<String,String> getAttributes()
Static information about a vehicle in a key-value pair. For example: "engine Type"
:
"v6"
"engine Type"
:
"v6"
public void setAttributes(Map<String,String> attributes)
Static information about a vehicle in a key-value pair. For example: "engine Type"
:
"v6"
attributes
- Static information about a vehicle in a key-value pair. For example: "engine Type"
:
"v6"
public CreateVehicleRequestItem withAttributes(Map<String,String> attributes)
Static information about a vehicle in a key-value pair. For example: "engine Type"
:
"v6"
attributes
- Static information about a vehicle in a key-value pair. For example: "engine Type"
:
"v6"
public CreateVehicleRequestItem addAttributesEntry(String key, String value)
public CreateVehicleRequestItem clearAttributesEntries()
public void setAssociationBehavior(String 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.
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.VehicleAssociationBehavior
public String getAssociationBehavior()
An option to create a new Amazon Web Services IoT thing when creating a vehicle, or to validate an existing thing as a vehicle.
VehicleAssociationBehavior
public CreateVehicleRequestItem withAssociationBehavior(String 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.
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.VehicleAssociationBehavior
public CreateVehicleRequestItem withAssociationBehavior(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.
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.VehicleAssociationBehavior
public List<Tag> getTags()
Metadata which can be used to manage the vehicle.
public void setTags(Collection<Tag> tags)
Metadata which can be used to manage the vehicle.
tags
- Metadata which can be used to manage the vehicle.public CreateVehicleRequestItem withTags(Tag... tags)
Metadata which can be used to manage the vehicle.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- Metadata which can be used to manage the vehicle.public CreateVehicleRequestItem withTags(Collection<Tag> tags)
Metadata which can be used to manage the vehicle.
tags
- Metadata which can be used to manage the vehicle.public String toString()
toString
in class Object
Object.toString()
public CreateVehicleRequestItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.