Interface GetVehicleResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetVehicleResponse.Builder,
,GetVehicleResponse> IoTFleetWiseResponse.Builder
,SdkBuilder<GetVehicleResponse.Builder,
,GetVehicleResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetVehicleResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the vehicle to retrieve information about.attributes
(Map<String, String> attributes) Static information about a vehicle in a key-value pair.creationTime
(Instant creationTime) The time the vehicle was created in seconds since epoch (January 1, 1970 at midnight UTC time).decoderManifestArn
(String decoderManifestArn) The ARN of a decoder manifest associated with the vehicle.lastModificationTime
(Instant lastModificationTime) The time the vehicle was last updated in seconds since epoch (January 1, 1970 at midnight UTC time).modelManifestArn
(String modelManifestArn) The ARN of a vehicle model (model manifest) associated with the vehicle.stateTemplates
(Collection<StateTemplateAssociation> stateTemplates) State templates associated with the vehicle.stateTemplates
(Consumer<StateTemplateAssociation.Builder>... stateTemplates) State templates associated with the vehicle.stateTemplates
(StateTemplateAssociation... stateTemplates) State templates associated with the vehicle.vehicleName
(String vehicleName) The ID of the vehicle.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iotfleetwise.model.IoTFleetWiseResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
vehicleName
The ID of the vehicle.
- Parameters:
vehicleName
- The ID of the vehicle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The Amazon Resource Name (ARN) of the vehicle to retrieve information about.
- Parameters:
arn
- The Amazon Resource Name (ARN) of the vehicle to retrieve information about.- 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 a decoder manifest associated with the vehicle.
- Parameters:
decoderManifestArn
- The ARN of a decoder manifest associated with the 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.
-
stateTemplates
State templates associated with the vehicle.
- Parameters:
stateTemplates
- State templates associated with the vehicle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stateTemplates
State templates associated with the vehicle.
- Parameters:
stateTemplates
- State templates associated with the vehicle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stateTemplates
GetVehicleResponse.Builder stateTemplates(Consumer<StateTemplateAssociation.Builder>... stateTemplates) State templates associated 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 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:
-
creationTime
The time the vehicle was created in seconds since epoch (January 1, 1970 at midnight UTC time).
- Parameters:
creationTime
- The time the vehicle was created in seconds since epoch (January 1, 1970 at midnight UTC time).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModificationTime
The time the vehicle was last updated in seconds since epoch (January 1, 1970 at midnight UTC time).
- Parameters:
lastModificationTime
- The time the vehicle was last updated in seconds since epoch (January 1, 1970 at midnight UTC time).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-