Interface DescribeDimensionKeysResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeDimensionKeysResponse.Builder,DescribeDimensionKeysResponse>,PiResponse.Builder,SdkBuilder<DescribeDimensionKeysResponse.Builder,DescribeDimensionKeysResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeDimensionKeysResponse
public static interface DescribeDimensionKeysResponse.Builder extends PiResponse.Builder, SdkPojo, CopyableBuilder<DescribeDimensionKeysResponse.Builder,DescribeDimensionKeysResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeDimensionKeysResponse.BuilderalignedEndTime(Instant alignedEndTime)The end time for the returned dimension keys, after alignment to a granular boundary (as specified byPeriodInSeconds).DescribeDimensionKeysResponse.BuilderalignedStartTime(Instant alignedStartTime)The start time for the returned dimension keys, after alignment to a granular boundary (as specified byPeriodInSeconds).DescribeDimensionKeysResponse.Builderkeys(Collection<DimensionKeyDescription> keys)The dimension keys that were requested.DescribeDimensionKeysResponse.Builderkeys(Consumer<DimensionKeyDescription.Builder>... keys)The dimension keys that were requested.DescribeDimensionKeysResponse.Builderkeys(DimensionKeyDescription... keys)The dimension keys that were requested.DescribeDimensionKeysResponse.BuildernextToken(String nextToken)A pagination token that indicates the response didn’t return all available records becauseMaxRecordswas specified in the previous request.DescribeDimensionKeysResponse.BuilderpartitionKeys(Collection<ResponsePartitionKey> partitionKeys)IfPartitionBywas present in the request,PartitionKeyscontains the breakdown of dimension keys by the specified partitions.DescribeDimensionKeysResponse.BuilderpartitionKeys(Consumer<ResponsePartitionKey.Builder>... partitionKeys)IfPartitionBywas present in the request,PartitionKeyscontains the breakdown of dimension keys by the specified partitions.DescribeDimensionKeysResponse.BuilderpartitionKeys(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
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 Detail
-
alignedStartTime
DescribeDimensionKeysResponse.Builder alignedStartTime(Instant 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
DescribeDimensionKeysResponse.Builder alignedEndTime(Instant 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
DescribeDimensionKeysResponse.Builder partitionKeys(Collection<ResponsePartitionKey> 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(ResponsePartitionKey... 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 to#partitionKeys(List.) - 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:
#partitionKeys(java.util.Collection)
-
keys
DescribeDimensionKeysResponse.Builder keys(Collection<DimensionKeyDescription> 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
DescribeDimensionKeysResponse.Builder keys(DimensionKeyDescription... 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
DescribeDimensionKeysResponse.Builder keys(Consumer<DimensionKeyDescription.Builder>... 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 to#keys(List.) - 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:
#keys(java.util.Collection)
-
nextToken
DescribeDimensionKeysResponse.Builder nextToken(String 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.
-
-