Interface DescribeDimensionKeysResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeDimensionKeysResponse.Builder,
,DescribeDimensionKeysResponse> PiResponse.Builder
,SdkBuilder<DescribeDimensionKeysResponse.Builder,
,DescribeDimensionKeysResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeDimensionKeysResponse
-
Method Summary
Modifier and TypeMethodDescriptionalignedEndTime
(Instant alignedEndTime) The end time for the returned dimension keys, after alignment to a granular boundary (as specified byPeriodInSeconds
).alignedStartTime
(Instant alignedStartTime) The start time for the returned dimension keys, after alignment to a granular boundary (as specified byPeriodInSeconds
).The dimension keys that were requested.keys
(Consumer<DimensionKeyDescription.Builder>... keys) The dimension keys that were requested.keys
(DimensionKeyDescription... keys) The dimension keys that were requested.A pagination token that indicates the response didn’t return all available records becauseMaxRecords
was specified in the previous request.partitionKeys
(Collection<ResponsePartitionKey> partitionKeys) IfPartitionBy
was present in the request,PartitionKeys
contains the breakdown of dimension keys by the specified partitions.partitionKeys
(Consumer<ResponsePartitionKey.Builder>... partitionKeys) IfPartitionBy
was present in the request,PartitionKeys
contains the breakdown of dimension keys by the specified partitions.partitionKeys
(ResponsePartitionKey... partitionKeys) IfPartitionBy
was present in the request,PartitionKeys
contains the breakdown of dimension keys by the specified partitions.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.pi.model.PiResponse.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 Details
-
alignedStartTime
The start time for the returned dimension keys, after alignment to a granular boundary (as specified by
PeriodInSeconds
).AlignedStartTime
will be less than or equal to the value of the user-specifiedStartTime
.- Parameters:
alignedStartTime
- The start time for the returned dimension keys, after alignment to a granular boundary (as specified byPeriodInSeconds
).AlignedStartTime
will be less than or equal to the value of the user-specifiedStartTime
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
alignedEndTime
The end time for the returned dimension keys, after alignment to a granular boundary (as specified by
PeriodInSeconds
).AlignedEndTime
will be greater than or equal to the value of the user-specifiedEndtime
.- Parameters:
alignedEndTime
- The end time for the returned dimension keys, after alignment to a granular boundary (as specified byPeriodInSeconds
).AlignedEndTime
will be greater than or equal to the value of the user-specifiedEndtime
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partitionKeys
If
PartitionBy
was present in the request,PartitionKeys
contains the breakdown of dimension keys by the specified partitions.- Parameters:
partitionKeys
- IfPartitionBy
was present in the request,PartitionKeys
contains the breakdown of dimension keys by the specified partitions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partitionKeys
If
PartitionBy
was present in the request,PartitionKeys
contains the breakdown of dimension keys by the specified partitions.- Parameters:
partitionKeys
- IfPartitionBy
was present in the request,PartitionKeys
contains the breakdown of dimension keys by the specified partitions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partitionKeys
DescribeDimensionKeysResponse.Builder partitionKeys(Consumer<ResponsePartitionKey.Builder>... partitionKeys) If
This is a convenience method that creates an instance of thePartitionBy
was present in the request,PartitionKeys
contains the breakdown of dimension keys by the specified partitions.ResponsePartitionKey.Builder
avoiding the need to create one manually viaResponsePartitionKey.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topartitionKeys(List<ResponsePartitionKey>)
.- Parameters:
partitionKeys
- a consumer that will call methods onResponsePartitionKey.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
keys
The dimension keys that were requested.
- Parameters:
keys
- The dimension keys that were requested.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keys
The dimension keys that were requested.
- Parameters:
keys
- The dimension keys that were requested.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keys
The dimension keys that were requested.
This is a convenience method that creates an instance of theDimensionKeyDescription.Builder
avoiding the need to create one manually viaDimensionKeyDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tokeys(List<DimensionKeyDescription>)
.- Parameters:
keys
- a consumer that will call methods onDimensionKeyDescription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A pagination token that indicates the response didn’t return all available records because
MaxRecords
was specified in the previous request. To get the remaining records, specifyNextToken
in a separate request with this value.- Parameters:
nextToken
- A pagination token that indicates the response didn’t return all available records becauseMaxRecords
was specified in the previous request. To get the remaining records, specifyNextToken
in a separate request with this value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-