Interface CreateVehicleRequestItem.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CreateVehicleRequestItem.Builder,
,CreateVehicleRequestItem> SdkBuilder<CreateVehicleRequestItem.Builder,
,CreateVehicleRequestItem> SdkPojo
- Enclosing class:
CreateVehicleRequestItem
-
Method Summary
Modifier and TypeMethodDescriptionassociationBehavior
(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
(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.attributes
(Map<String, String> attributes) Static information about a vehicle in a key-value pair.decoderManifestArn
(String decoderManifestArn) The Amazon Resource Name (ARN) of a decoder manifest associated with the vehicle to create.modelManifestArn
(String modelManifestArn) The ARN of the vehicle model (model manifest) to create the vehicle from.stateTemplates
(Collection<StateTemplateAssociation> stateTemplates) Associate state templates to track the state of the vehicle.stateTemplates
(Consumer<StateTemplateAssociation.Builder>... stateTemplates) Associate state templates to track the state of the vehicle.stateTemplates
(StateTemplateAssociation... stateTemplates) Associate state templates to track the state of the vehicle.tags
(Collection<Tag> tags) Metadata which can be used to manage the vehicle.tags
(Consumer<Tag.Builder>... tags) Metadata which can be used to manage the vehicle.Metadata which can be used to manage the vehicle.vehicleName
(String vehicleName) The unique ID of the vehicle to create.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
vehicleName
The unique ID of the vehicle to create.
- Parameters:
vehicleName
- The unique ID of the vehicle to create.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelManifestArn
The ARN of the vehicle model (model manifest) to create the vehicle from.
- Parameters:
modelManifestArn
- The ARN of the vehicle model (model manifest) to create the vehicle from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
decoderManifestArn
The Amazon Resource Name (ARN) of a decoder manifest associated with the vehicle to create.
- Parameters:
decoderManifestArn
- The Amazon Resource Name (ARN) of a decoder manifest associated with the vehicle to create.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
Static information about a vehicle in a key-value pair. For example:
"engine Type"
:"v6"
- Parameters:
attributes
- Static information about a vehicle in a key-value pair. For example:"engine Type"
:"v6"
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
associationBehavior
CreateVehicleRequestItem.Builder associationBehavior(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
Metadata which can be used to manage the vehicle.
- Parameters:
tags
- Metadata which can be used to manage the vehicle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Metadata which can be used to manage the vehicle.
- Parameters:
tags
- Metadata which can be used to manage the vehicle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Metadata which can be used to manage the vehicle.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
stateTemplates
CreateVehicleRequestItem.Builder stateTemplates(Collection<StateTemplateAssociation> stateTemplates) Associate state templates to track the state of the vehicle. State templates determine which signal updates the vehicle sends to the cloud.
- Parameters:
stateTemplates
- Associate state templates to track the state of the vehicle. State templates determine which signal updates the vehicle sends to the cloud.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stateTemplates
Associate state templates to track the state of the vehicle. State templates determine which signal updates the vehicle sends to the cloud.
- Parameters:
stateTemplates
- Associate state templates to track the state of the vehicle. State templates determine which signal updates the vehicle sends to the cloud.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stateTemplates
CreateVehicleRequestItem.Builder stateTemplates(Consumer<StateTemplateAssociation.Builder>... stateTemplates) Associate state templates to track the state of the vehicle. State templates determine which signal updates the vehicle sends to the cloud.
This is a convenience method that creates an instance of theStateTemplateAssociation.Builder
avoiding the need to create one manually viaStateTemplateAssociation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostateTemplates(List<StateTemplateAssociation>)
.- Parameters:
stateTemplates
- a consumer that will call methods onStateTemplateAssociation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-