Interface UpdateVehicleRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateVehicleRequest.Builder,UpdateVehicleRequest>,IoTFleetWiseRequest.Builder,SdkBuilder<UpdateVehicleRequest.Builder,UpdateVehicleRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateVehicleRequest
public static interface UpdateVehicleRequest.Builder extends IoTFleetWiseRequest.Builder, SdkPojo, CopyableBuilder<UpdateVehicleRequest.Builder,UpdateVehicleRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateVehicleRequest.Builderattributes(Map<String,String> attributes)Static information about a vehicle in a key-value pair.UpdateVehicleRequest.BuilderattributeUpdateMode(String attributeUpdateMode)The method the specified attributes will update the existing attributes on the vehicle.UpdateVehicleRequest.BuilderattributeUpdateMode(UpdateMode attributeUpdateMode)The method the specified attributes will update the existing attributes on the vehicle.UpdateVehicleRequest.BuilderdecoderManifestArn(String decoderManifestArn)The ARN of the decoder manifest associated with this vehicle.UpdateVehicleRequest.BuildermodelManifestArn(String modelManifestArn)The ARN of a vehicle model (model manifest) associated with the vehicle.UpdateVehicleRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateVehicleRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateVehicleRequest.BuilderstateTemplatesToAdd(Collection<StateTemplateAssociation> stateTemplatesToAdd)Associate state templates with the vehicle.UpdateVehicleRequest.BuilderstateTemplatesToAdd(Consumer<StateTemplateAssociation.Builder>... stateTemplatesToAdd)Associate state templates with the vehicle.UpdateVehicleRequest.BuilderstateTemplatesToAdd(StateTemplateAssociation... stateTemplatesToAdd)Associate state templates with the vehicle.UpdateVehicleRequest.BuilderstateTemplatesToRemove(String... stateTemplatesToRemove)Remove state templates from the vehicle.UpdateVehicleRequest.BuilderstateTemplatesToRemove(Collection<String> stateTemplatesToRemove)Remove state templates from the vehicle.UpdateVehicleRequest.BuildervehicleName(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 Detail
-
vehicleName
UpdateVehicleRequest.Builder vehicleName(String 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
UpdateVehicleRequest.Builder modelManifestArn(String 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
UpdateVehicleRequest.Builder decoderManifestArn(String 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
UpdateVehicleRequest.Builder attributes(Map<String,String> 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
UpdateVehicleRequest.Builder attributeUpdateMode(String attributeUpdateMode)
The method the specified attributes will update the existing attributes on the vehicle. Use
Overwiteto replace the vehicle attributes with the specified attributes. Or useMergeto 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. UseOverwiteto replace the vehicle attributes with the specified attributes. Or useMergeto 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:
UpdateMode,UpdateMode
-
attributeUpdateMode
UpdateVehicleRequest.Builder attributeUpdateMode(UpdateMode attributeUpdateMode)
The method the specified attributes will update the existing attributes on the vehicle. Use
Overwiteto replace the vehicle attributes with the specified attributes. Or useMergeto 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. UseOverwiteto replace the vehicle attributes with the specified attributes. Or useMergeto 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:
UpdateMode,UpdateMode
-
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
UpdateVehicleRequest.Builder stateTemplatesToAdd(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
UpdateVehicleRequest.Builder stateTemplatesToAdd(Consumer<StateTemplateAssociation.Builder>... stateTemplatesToAdd)
Associate state templates with the vehicle.
This is a convenience method that creates an instance of theStateTemplateAssociation.Builderavoiding the need to create one manually viaStateTemplateAssociation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#stateTemplatesToAdd(List.) - 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:
#stateTemplatesToAdd(java.util.Collection)
-
stateTemplatesToRemove
UpdateVehicleRequest.Builder stateTemplatesToRemove(Collection<String> 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
UpdateVehicleRequest.Builder stateTemplatesToRemove(String... 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.
-
overrideConfiguration
UpdateVehicleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateVehicleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-