Interface GetVehicleStatusResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetVehicleStatusResponse.Builder,
,GetVehicleStatusResponse> IoTFleetWiseResponse.Builder
,SdkBuilder<GetVehicleStatusResponse.Builder,
,GetVehicleStatusResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetVehicleStatusResponse
@Mutable
@NotThreadSafe
public static interface GetVehicleStatusResponse.Builder
extends IoTFleetWiseResponse.Builder, SdkPojo, CopyableBuilder<GetVehicleStatusResponse.Builder,GetVehicleStatusResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncampaigns
(Collection<VehicleStatus> campaigns) Lists information about the state of the vehicle with deployed campaigns.campaigns
(Consumer<VehicleStatus.Builder>... campaigns) Lists information about the state of the vehicle with deployed campaigns.campaigns
(VehicleStatus... campaigns) Lists information about the state of the vehicle with deployed campaigns.The token to retrieve the next set of results, ornull
if there are no more results.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
-
campaigns
Lists information about the state of the vehicle with deployed campaigns.
- Parameters:
campaigns
- Lists information about the state of the vehicle with deployed campaigns.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
campaigns
Lists information about the state of the vehicle with deployed campaigns.
- Parameters:
campaigns
- Lists information about the state of the vehicle with deployed campaigns.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
campaigns
Lists information about the state of the vehicle with deployed campaigns.
This is a convenience method that creates an instance of theVehicleStatus.Builder
avoiding the need to create one manually viaVehicleStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocampaigns(List<VehicleStatus>)
.- Parameters:
campaigns
- a consumer that will call methods onVehicleStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to retrieve the next set of results, or
null
if there are no more results.- Parameters:
nextToken
- The token to retrieve the next set of results, ornull
if there are no more results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-