@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() |
boolean |
hasTags()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
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, waitcopypublic final String applicationId()
The unique identifier for the application that the segment is associated with.
public final String arn()
The Amazon Resource Name (ARN) of the segment.
public final String creationDate()
The date and time when the segment was created.
public final SegmentDimensions dimensions()
The dimension settings for the segment.
public final String id()
The unique identifier for the segment.
public final SegmentImportResource importDefinition()
The settings for the import job that's associated with the segment.
public final String lastModifiedDate()
The date and time when the segment was last modified.
public final String name()
The name of the segment.
public final 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 final 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.
SegmentTypepublic final 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.
SegmentTypepublic final boolean hasTags()
public final 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.
You can use hasTags() to see if a value was sent in this field.
public final 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 final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.