@Generated(value="software.amazon.awssdk:codegen") public final class DescribeDimensionKeysResponse extends PiResponse implements ToCopyableBuilder<DescribeDimensionKeysResponse.Builder,DescribeDimensionKeysResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribeDimensionKeysResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
Instant |
alignedEndTime()
The end time for the returned dimension keys, after alignment to a granular boundary (as specified by
PeriodInSeconds). |
Instant |
alignedStartTime()
The start time for the returned dimension keys, after alignment to a granular boundary (as specified by
PeriodInSeconds). |
static DescribeDimensionKeysResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasKeys()
For responses, this returns true if the service returned a value for the Keys property.
|
boolean |
hasPartitionKeys()
For responses, this returns true if the service returned a value for the PartitionKeys property.
|
List<DimensionKeyDescription> |
keys()
The dimension keys that were requested.
|
String |
nextToken()
A pagination token that indicates the response didn’t return all available records because
MaxRecords was specified in the previous request. |
List<ResponsePartitionKey> |
partitionKeys()
If
PartitionBy was present in the request, PartitionKeys contains the breakdown of
dimension keys by the specified partitions. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeDimensionKeysResponse.Builder> |
serializableBuilderClass() |
DescribeDimensionKeysResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Instant 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-specified StartTime.
PeriodInSeconds). AlignedStartTime will be less than or equal to the value of
the user-specified StartTime.public final Instant 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-specified Endtime.
PeriodInSeconds). AlignedEndTime will be greater than or equal to the value of
the user-specified Endtime.public final boolean hasPartitionKeys()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<ResponsePartitionKey> partitionKeys()
If PartitionBy was present in the request, PartitionKeys contains the breakdown of
dimension keys by the specified partitions.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasPartitionKeys() method.
PartitionBy was present in the request, PartitionKeys contains the breakdown
of dimension keys by the specified partitions.public final boolean hasKeys()
isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.public final List<DimensionKeyDescription> keys()
The dimension keys that were requested.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasKeys() method.
public final String 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, specify
NextToken in a separate request with this value.
MaxRecords was specified in the previous request. To get the remaining records, specify
NextToken in a separate request with this value.public DescribeDimensionKeysResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DescribeDimensionKeysResponse.Builder,DescribeDimensionKeysResponse>toBuilder in class AwsResponsepublic static DescribeDimensionKeysResponse.Builder builder()
public static Class<? extends DescribeDimensionKeysResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2022. All rights reserved.