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 becauseMaxRecordswas specified in the previous request.partitionKeys(Collection<ResponsePartitionKey> partitionKeys) IfPartitionBywas present in the request,PartitionKeyscontains the breakdown of dimension keys by the specified partitions.partitionKeys(Consumer<ResponsePartitionKey.Builder>... partitionKeys) IfPartitionBywas present in the request,PartitionKeyscontains the breakdown of dimension keys by the specified partitions.partitionKeys(ResponsePartitionKey... partitionKeys) IfPartitionBywas present in the request,PartitionKeyscontains the breakdown of dimension keys by the specified partitions.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.pi.model.PiResponse.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
-
alignedStartTime
The start time for the returned dimension keys, after alignment to a granular boundary (as specified by
PeriodInSeconds).AlignedStartTimewill 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).AlignedStartTimewill 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).AlignedEndTimewill 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).AlignedEndTimewill 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
PartitionBywas present in the request,PartitionKeyscontains the breakdown of dimension keys by the specified partitions.- Parameters:
partitionKeys- IfPartitionBywas present in the request,PartitionKeyscontains 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
PartitionBywas present in the request,PartitionKeyscontains the breakdown of dimension keys by the specified partitions.- Parameters:
partitionKeys- IfPartitionBywas present in the request,PartitionKeyscontains 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 thePartitionBywas present in the request,PartitionKeyscontains the breakdown of dimension keys by the specified partitions.ResponsePartitionKey.Builderavoiding the need to create one manually viaResponsePartitionKey.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaDimensionKeyDescription.builder().When the
Consumercompletes,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
MaxRecordswas specified in the previous request. To get the remaining records, specifyNextTokenin a separate request with this value.- Parameters:
nextToken- A pagination token that indicates the response didn’t return all available records becauseMaxRecordswas specified in the previous request. To get the remaining records, specifyNextTokenin a separate request with this value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-