@Generated(value="software.amazon.awssdk:codegen") public final class RecencyDimension extends Object implements SdkPojo, Serializable, 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() |
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.
|
List<SdkField<?>> |
sdkFields() |
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() |
copy
public 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()
.
Duration
public 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()
.
Duration
public 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()
.
RecencyType
public 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()
.
RecencyType
public RecencyDimension.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<RecencyDimension.Builder,RecencyDimension>
public static RecencyDimension.Builder builder()
public static Class<? extends RecencyDimension.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.