Interface CreateVehicleRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateVehicleRequest.Builder,,CreateVehicleRequest> IoTFleetWiseRequest.Builder,SdkBuilder<CreateVehicleRequest.Builder,,CreateVehicleRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateVehicleRequest
-
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 Amazon Web Services IoT 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 Amazon Web Services IoT thing as a vehicle.attributes(Map<String, String> attributes) Static information about a vehicle in a key-value pair.decoderManifestArn(String decoderManifestArn) The ARN of a decoder manifest.modelManifestArn(String modelManifestArn) The Amazon Resource Name ARN of a vehicle model.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.stateTemplates(Collection<StateTemplateAssociation> stateTemplates) Associate state templates with the vehicle.stateTemplates(Consumer<StateTemplateAssociation.Builder>... stateTemplates) Associate state templates with the vehicle.stateTemplates(StateTemplateAssociation... stateTemplates) Associate state templates with the vehicle.tags(Collection<Tag> tags) Metadata that can be used to manage the vehicle.tags(Consumer<Tag.Builder>... tags) Metadata that can be used to manage the vehicle.Metadata that 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.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iotfleetwise.model.IoTFleetWiseRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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 Amazon Resource Name ARN of a vehicle model.
- Parameters:
modelManifestArn- The Amazon Resource Name ARN of a vehicle model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
decoderManifestArn
The ARN of a decoder manifest.
- Parameters:
decoderManifestArn- The ARN of a decoder manifest.- 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"To use attributes with Campaigns or State Templates, you must include them using the request parameters
dataExtraDimensionsand/ormetadataExtraDimensions(for state templates only) when creating your campaign/state template.- Parameters:
attributes- Static information about a vehicle in a key-value pair. For example:"engineType":"1.3 L R2"To use attributes with Campaigns or State Templates, you must include them using the request parameters
dataExtraDimensionsand/ormetadataExtraDimensions(for state templates only) when creating your campaign/state template.- 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 Amazon Web Services IoT thing as a vehicle.
Default:
- Parameters:
associationBehavior- An option to create a new Amazon Web Services IoT thing when creating a vehicle, or to validate an existing Amazon Web Services IoT thing as a vehicle.Default:
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
associationBehavior
An option to create a new Amazon Web Services IoT thing when creating a vehicle, or to validate an existing Amazon Web Services IoT thing as a vehicle.
Default:
- Parameters:
associationBehavior- An option to create a new Amazon Web Services IoT thing when creating a vehicle, or to validate an existing Amazon Web Services IoT thing as a vehicle.Default:
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
Metadata that can be used to manage the vehicle.
- Parameters:
tags- Metadata that can be used to manage the vehicle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Metadata that can be used to manage the vehicle.
- Parameters:
tags- Metadata that can be used to manage the vehicle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Metadata that can be used to manage the vehicle.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,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
Associate state templates with the vehicle. You can monitor the last known state of the vehicle in near real time.
- Parameters:
stateTemplates- Associate state templates with the vehicle. You can monitor the last known state of the vehicle in near real time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stateTemplates
Associate state templates with the vehicle. You can monitor the last known state of the vehicle in near real time.
- Parameters:
stateTemplates- Associate state templates with the vehicle. You can monitor the last known state of the vehicle in near real time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stateTemplates
CreateVehicleRequest.Builder stateTemplates(Consumer<StateTemplateAssociation.Builder>... stateTemplates) Associate state templates with the vehicle. You can monitor the last known state of the vehicle in near real time.
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 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:
-
overrideConfiguration
CreateVehicleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateVehicleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-