Interface ListFleetMetricsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListFleetMetricsResponse.Builder,ListFleetMetricsResponse>
,IotResponse.Builder
,SdkBuilder<ListFleetMetricsResponse.Builder,ListFleetMetricsResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- ListFleetMetricsResponse
public static interface ListFleetMetricsResponse.Builder extends IotResponse.Builder, SdkPojo, CopyableBuilder<ListFleetMetricsResponse.Builder,ListFleetMetricsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListFleetMetricsResponse.Builder
fleetMetrics(Collection<FleetMetricNameAndArn> fleetMetrics)
The list of fleet metrics objects.ListFleetMetricsResponse.Builder
fleetMetrics(Consumer<FleetMetricNameAndArn.Builder>... fleetMetrics)
The list of fleet metrics objects.ListFleetMetricsResponse.Builder
fleetMetrics(FleetMetricNameAndArn... fleetMetrics)
The list of fleet metrics objects.ListFleetMetricsResponse.Builder
nextToken(String nextToken)
The token for the next set of results.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.iot.model.IotResponse.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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
fleetMetrics
ListFleetMetricsResponse.Builder fleetMetrics(Collection<FleetMetricNameAndArn> fleetMetrics)
The list of fleet metrics objects.
- Parameters:
fleetMetrics
- The list of fleet metrics objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fleetMetrics
ListFleetMetricsResponse.Builder fleetMetrics(FleetMetricNameAndArn... fleetMetrics)
The list of fleet metrics objects.
- Parameters:
fleetMetrics
- The list of fleet metrics objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fleetMetrics
ListFleetMetricsResponse.Builder fleetMetrics(Consumer<FleetMetricNameAndArn.Builder>... fleetMetrics)
The list of fleet metrics objects.
This is a convenience method that creates an instance of theFleetMetricNameAndArn.Builder
avoiding the need to create one manually viaFleetMetricNameAndArn.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#fleetMetrics(List
.) - Parameters:
fleetMetrics
- a consumer that will call methods onFleetMetricNameAndArn.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#fleetMetrics(java.util.Collection
)
-
nextToken
ListFleetMetricsResponse.Builder nextToken(String nextToken)
The token for the next set of results. Will not be returned if the operation has returned all results.
- Parameters:
nextToken
- The token for the next set of results. Will not be returned if the operation has returned all results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-