@Generated(value="software.amazon.awssdk:codegen") public final class AnalyticsBinBySpecification extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AnalyticsBinBySpecification.Builder,AnalyticsBinBySpecification>
Contains the time metric, interval, and method by which to bin the analytics data.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AnalyticsBinBySpecification.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AnalyticsBinBySpecification.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
AnalyticsInterval |
interval()
Specifies the interval of time by which to bin the analytics data.
|
String |
intervalAsString()
Specifies the interval of time by which to bin the analytics data.
|
AnalyticsBinByName |
name()
Specifies the time metric by which to bin the analytics data.
|
String |
nameAsString()
Specifies the time metric by which to bin the analytics data.
|
AnalyticsSortOrder |
order()
Specifies whether to bin the analytics data in ascending or descending order.
|
String |
orderAsString()
Specifies whether to bin the analytics data in ascending or descending order.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AnalyticsBinBySpecification.Builder> |
serializableBuilderClass() |
AnalyticsBinBySpecification.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final AnalyticsBinByName name()
Specifies the time metric by which to bin the analytics data.
If the service returns an enum value that is not available in the current SDK version, name will return
AnalyticsBinByName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
nameAsString().
AnalyticsBinByNamepublic final String nameAsString()
Specifies the time metric by which to bin the analytics data.
If the service returns an enum value that is not available in the current SDK version, name will return
AnalyticsBinByName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
nameAsString().
AnalyticsBinByNamepublic final AnalyticsInterval interval()
Specifies the interval of time by which to bin the analytics data.
If the service returns an enum value that is not available in the current SDK version, interval will
return AnalyticsInterval.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
intervalAsString().
AnalyticsIntervalpublic final String intervalAsString()
Specifies the interval of time by which to bin the analytics data.
If the service returns an enum value that is not available in the current SDK version, interval will
return AnalyticsInterval.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
intervalAsString().
AnalyticsIntervalpublic final AnalyticsSortOrder order()
Specifies whether to bin the analytics data in ascending or descending order. If this field is left blank, the default order is by the key of the bin in descending order.
If the service returns an enum value that is not available in the current SDK version, order will return
AnalyticsSortOrder.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
orderAsString().
AnalyticsSortOrderpublic final String orderAsString()
Specifies whether to bin the analytics data in ascending or descending order. If this field is left blank, the default order is by the key of the bin in descending order.
If the service returns an enum value that is not available in the current SDK version, order will return
AnalyticsSortOrder.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
orderAsString().
AnalyticsSortOrderpublic AnalyticsBinBySpecification.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AnalyticsBinBySpecification.Builder,AnalyticsBinBySpecification>public static AnalyticsBinBySpecification.Builder builder()
public static Class<? extends AnalyticsBinBySpecification.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.