Interface UpdateVehicleRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateVehicleRequest.Builder,
,UpdateVehicleRequest> IoTFleetWiseRequest.Builder
,SdkBuilder<UpdateVehicleRequest.Builder,
,UpdateVehicleRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateVehicleRequest
-
Method Summary
Modifier and TypeMethodDescriptionattributes
(Map<String, String> attributes) Static information about a vehicle in a key-value pair.attributeUpdateMode
(String attributeUpdateMode) The method the specified attributes will update the existing attributes on the vehicle.attributeUpdateMode
(UpdateMode attributeUpdateMode) The method the specified attributes will update the existing attributes on the vehicle.decoderManifestArn
(String decoderManifestArn) The ARN of the decoder manifest associated with this vehicle.modelManifestArn
(String modelManifestArn) The ARN of a vehicle model (model manifest) associated with the vehicle.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.stateTemplatesToAdd
(Collection<StateTemplateAssociation> stateTemplatesToAdd) Associate state templates with the vehicle.stateTemplatesToAdd
(Consumer<StateTemplateAssociation.Builder>... stateTemplatesToAdd) Associate state templates with the vehicle.stateTemplatesToAdd
(StateTemplateAssociation... stateTemplatesToAdd) Associate state templates with the vehicle.stateTemplatesToRemove
(String... stateTemplatesToRemove) Remove state templates from the vehicle.stateTemplatesToRemove
(Collection<String> stateTemplatesToRemove) Remove state templates from the vehicle.stateTemplatesToUpdate
(Collection<StateTemplateAssociation> stateTemplatesToUpdate) Change thestateTemplateUpdateStrategy
of state templates already associated with the vehicle.stateTemplatesToUpdate
(Consumer<StateTemplateAssociation.Builder>... stateTemplatesToUpdate) Change thestateTemplateUpdateStrategy
of state templates already associated with the vehicle.stateTemplatesToUpdate
(StateTemplateAssociation... stateTemplatesToUpdate) Change thestateTemplateUpdateStrategy
of state templates already associated with the vehicle.vehicleName
(String vehicleName) The unique ID of the vehicle to update.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iotfleetwise.model.IoTFleetWiseRequest.Builder
build
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 update.
- Parameters:
vehicleName
- The unique ID of the vehicle to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelManifestArn
The ARN of a vehicle model (model manifest) associated with the vehicle.
- Parameters:
modelManifestArn
- The ARN of a vehicle model (model manifest) associated with the vehicle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
decoderManifestArn
The ARN of the decoder manifest associated with this vehicle.
- Parameters:
decoderManifestArn
- The ARN of the decoder manifest associated with this vehicle.- 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:
"engineType"
:"1.3 L R2"
- Parameters:
attributes
- Static information about a vehicle in a key-value pair. For example:"engineType"
:"1.3 L R2"
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributeUpdateMode
The method the specified attributes will update the existing attributes on the vehicle. Use
Overwite
to replace the vehicle attributes with the specified attributes. Or useMerge
to combine all attributes.This is required if attributes are present in the input.
- Parameters:
attributeUpdateMode
- The method the specified attributes will update the existing attributes on the vehicle. UseOverwite
to replace the vehicle attributes with the specified attributes. Or useMerge
to combine all attributes.This is required if attributes are present in the input.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
attributeUpdateMode
The method the specified attributes will update the existing attributes on the vehicle. Use
Overwite
to replace the vehicle attributes with the specified attributes. Or useMerge
to combine all attributes.This is required if attributes are present in the input.
- Parameters:
attributeUpdateMode
- The method the specified attributes will update the existing attributes on the vehicle. UseOverwite
to replace the vehicle attributes with the specified attributes. Or useMerge
to combine all attributes.This is required if attributes are present in the input.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
stateTemplatesToAdd
UpdateVehicleRequest.Builder stateTemplatesToAdd(Collection<StateTemplateAssociation> stateTemplatesToAdd) Associate state templates with the vehicle.
- Parameters:
stateTemplatesToAdd
- Associate state templates with the vehicle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stateTemplatesToAdd
Associate state templates with the vehicle.
- Parameters:
stateTemplatesToAdd
- Associate state templates with the vehicle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stateTemplatesToAdd
UpdateVehicleRequest.Builder stateTemplatesToAdd(Consumer<StateTemplateAssociation.Builder>... stateTemplatesToAdd) Associate state templates with the vehicle.
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 tostateTemplatesToAdd(List<StateTemplateAssociation>)
.- Parameters:
stateTemplatesToAdd
- 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:
-
stateTemplatesToRemove
Remove state templates from the vehicle.
- Parameters:
stateTemplatesToRemove
- Remove state templates from the vehicle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stateTemplatesToRemove
Remove state templates from the vehicle.
- Parameters:
stateTemplatesToRemove
- Remove state templates from the vehicle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stateTemplatesToUpdate
UpdateVehicleRequest.Builder stateTemplatesToUpdate(Collection<StateTemplateAssociation> stateTemplatesToUpdate) Change the
stateTemplateUpdateStrategy
of state templates already associated with the vehicle.- Parameters:
stateTemplatesToUpdate
- Change thestateTemplateUpdateStrategy
of state templates already associated with the vehicle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stateTemplatesToUpdate
UpdateVehicleRequest.Builder stateTemplatesToUpdate(StateTemplateAssociation... stateTemplatesToUpdate) Change the
stateTemplateUpdateStrategy
of state templates already associated with the vehicle.- Parameters:
stateTemplatesToUpdate
- Change thestateTemplateUpdateStrategy
of state templates already associated with the vehicle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stateTemplatesToUpdate
UpdateVehicleRequest.Builder stateTemplatesToUpdate(Consumer<StateTemplateAssociation.Builder>... stateTemplatesToUpdate) Change the
This is a convenience method that creates an instance of thestateTemplateUpdateStrategy
of state templates already associated with the vehicle.StateTemplateAssociation.Builder
avoiding the need to create one manually viaStateTemplateAssociation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostateTemplatesToUpdate(List<StateTemplateAssociation>)
.- Parameters:
stateTemplatesToUpdate
- 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:
-
overrideConfiguration
UpdateVehicleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateVehicleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-