Interface GetVehicleStatusResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetVehicleStatusResponse.Builder,,GetVehicleStatusResponse> IoTFleetWiseResponse.Builder,SdkBuilder<GetVehicleStatusResponse.Builder,,GetVehicleStatusResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetVehicleStatusResponse
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, ornullif there are no more results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iotfleetwise.model.IoTFleetWiseResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaVehicleStatus.builder().When the
Consumercompletes,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
nullif there are no more results.- Parameters:
nextToken- The token to retrieve the next set of results, ornullif there are no more results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-