Interface GetPercentilesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetPercentilesResponse.Builder,GetPercentilesResponse>
,IotResponse.Builder
,SdkBuilder<GetPercentilesResponse.Builder,GetPercentilesResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- GetPercentilesResponse
public static interface GetPercentilesResponse.Builder extends IotResponse.Builder, SdkPojo, CopyableBuilder<GetPercentilesResponse.Builder,GetPercentilesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetPercentilesResponse.Builder
percentiles(Collection<PercentPair> percentiles)
The percentile values of the aggregated fields.GetPercentilesResponse.Builder
percentiles(Consumer<PercentPair.Builder>... percentiles)
The percentile values of the aggregated fields.GetPercentilesResponse.Builder
percentiles(PercentPair... percentiles)
The percentile values of the aggregated fields.-
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
-
percentiles
GetPercentilesResponse.Builder percentiles(Collection<PercentPair> percentiles)
The percentile values of the aggregated fields.
- Parameters:
percentiles
- The percentile values of the aggregated fields.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
percentiles
GetPercentilesResponse.Builder percentiles(PercentPair... percentiles)
The percentile values of the aggregated fields.
- Parameters:
percentiles
- The percentile values of the aggregated fields.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
percentiles
GetPercentilesResponse.Builder percentiles(Consumer<PercentPair.Builder>... percentiles)
The percentile values of the aggregated fields.
This is a convenience method that creates an instance of thePercentPair.Builder
avoiding the need to create one manually viaPercentPair.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#percentiles(List
.) - Parameters:
percentiles
- a consumer that will call methods onPercentPair.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#percentiles(java.util.Collection
)
-
-