@Generated(value="software.amazon.awssdk:codegen") public final class SegmentResponse extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SegmentResponse.Builder,SegmentResponse>
Provides information about the configuration, dimension, and other settings for a segment.
Modifier and Type | Class and Description |
---|---|
static interface |
SegmentResponse.Builder |
Modifier and Type | Method and Description |
---|---|
String |
applicationId()
The unique identifier for the application that the segment is associated with.
|
String |
arn()
The Amazon Resource Name (ARN) of the segment.
|
static SegmentResponse.Builder |
builder() |
String |
creationDate()
The date and time when the segment was created.
|
SegmentDimensions |
dimensions()
The dimension settings for the segment.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The unique identifier for the segment.
|
SegmentImportResource |
importDefinition()
The settings for the import job that's associated with the segment.
|
String |
lastModifiedDate()
The date and time when the segment was last modified.
|
String |
name()
The name of the segment.
|
List<SdkField<?>> |
sdkFields() |
SegmentGroupList |
segmentGroups()
A list of one or more segment groups that apply to the segment.
|
SegmentType |
segmentType()
The segment type.
|
String |
segmentTypeAsString()
The segment type.
|
static Class<? extends SegmentResponse.Builder> |
serializableBuilderClass() |
Map<String,String> |
tags()
A string-to-string map of key-value pairs that identifies the tags that are associated with the segment.
|
SegmentResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Integer |
version()
The version number of the segment.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public String applicationId()
The unique identifier for the application that the segment is associated with.
public String arn()
The Amazon Resource Name (ARN) of the segment.
public String creationDate()
The date and time when the segment was created.
public SegmentDimensions dimensions()
The dimension settings for the segment.
public String id()
The unique identifier for the segment.
public SegmentImportResource importDefinition()
The settings for the import job that's associated with the segment.
public String lastModifiedDate()
The date and time when the segment was last modified.
public String name()
The name of the segment.
public SegmentGroupList segmentGroups()
A list of one or more segment groups that apply to the segment. Each segment group consists of zero or more base segments and the dimensions that are applied to those base segments.
public SegmentType segmentType()
The segment type. Valid values are:
DIMENSIONAL - A dynamic segment, which is a segment that uses selection criteria that you specify and is based on endpoint data that's reported by your app. Dynamic segments can change over time.
IMPORT - A static segment, which is a segment that uses selection criteria that you specify and is based on endpoint definitions that you they don't change over time.
If the service returns an enum value that is not available in the current SDK version, segmentType
will
return SegmentType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
segmentTypeAsString()
.
DIMENSIONAL - A dynamic segment, which is a segment that uses selection criteria that you specify and is based on endpoint data that's reported by your app. Dynamic segments can change over time.
IMPORT - A static segment, which is a segment that uses selection criteria that you specify and is based on endpoint definitions that you import from a file. Imported segments are static; they don't change over time.
SegmentType
public String segmentTypeAsString()
The segment type. Valid values are:
DIMENSIONAL - A dynamic segment, which is a segment that uses selection criteria that you specify and is based on endpoint data that's reported by your app. Dynamic segments can change over time.
IMPORT - A static segment, which is a segment that uses selection criteria that you specify and is based on endpoint definitions that you import from a file. Imported segments are static; they don't change over time.
If the service returns an enum value that is not available in the current SDK version, segmentType
will
return SegmentType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
segmentTypeAsString()
.
DIMENSIONAL - A dynamic segment, which is a segment that uses selection criteria that you specify and is based on endpoint data that's reported by your app. Dynamic segments can change over time.
IMPORT - A static segment, which is a segment that uses selection criteria that you specify and is based on endpoint definitions that you import from a file. Imported segments are static; they don't change over time.
SegmentType
public Map<String,String> tags()
A string-to-string map of key-value pairs that identifies the tags that are associated with the segment. Each tag consists of a required tag key and an associated tag value.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Integer version()
The version number of the segment.
public SegmentResponse.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<SegmentResponse.Builder,SegmentResponse>
public static SegmentResponse.Builder builder()
public static Class<? extends SegmentResponse.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
Copyright © 2019. All rights reserved.