@Generated(value="software.amazon.awssdk:codegen") public class RecencyDimension extends Object implements StructuredPojo, ToCopyableBuilder<RecencyDimension.Builder,RecencyDimension>
| Modifier and Type | Class and Description |
|---|---|
static interface |
RecencyDimension.Builder |
| Modifier and Type | Method and Description |
|---|---|
static RecencyDimension.Builder |
builder() |
Duration |
duration()
The length of time during which users have been active or inactive with your app.
|
String |
durationAsString()
The length of time during which users have been active or inactive with your app.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
RecencyType |
recencyType()
The recency dimension type: ACTIVE - Users who have used your app within the specified duration are included in
the segment.
|
String |
recencyTypeAsString()
The recency dimension type: ACTIVE - Users who have used your app within the specified duration are included in
the segment.
|
static Class<? extends RecencyDimension.Builder> |
serializableBuilderClass() |
RecencyDimension.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copypublic Duration duration()
If the service returns an enum value that is not available in the current SDK version, duration will
return Duration.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
durationAsString().
Durationpublic String durationAsString()
If the service returns an enum value that is not available in the current SDK version, duration will
return Duration.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
durationAsString().
Durationpublic RecencyType recencyType()
If the service returns an enum value that is not available in the current SDK version, recencyType will
return RecencyType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
recencyTypeAsString().
RecencyTypepublic String recencyTypeAsString()
If the service returns an enum value that is not available in the current SDK version, recencyType will
return RecencyType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
recencyTypeAsString().
RecencyTypepublic RecencyDimension.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<RecencyDimension.Builder,RecencyDimension>public static RecencyDimension.Builder builder()
public static Class<? extends RecencyDimension.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.