@Generated(value="software.amazon.awssdk:codegen") public final class SegmentResponse extends Object implements StructuredPojo, ToCopyableBuilder<SegmentResponse.Builder,SegmentResponse>
Modifier and Type | Class and Description |
---|---|
static interface |
SegmentResponse.Builder |
Modifier and Type | Method and Description |
---|---|
String |
applicationId()
The ID of the application to which the segment applies.
|
static SegmentResponse.Builder |
builder() |
String |
creationDate()
The date the segment was created in ISO 8601 format.
|
SegmentDimensions |
dimensions()
The segment dimensions attributes.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The unique segment ID.
|
SegmentImportResource |
importDefinition()
The import job settings.
|
String |
lastModifiedDate()
The date the segment was last updated in ISO 8601 format.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
name()
The name of segment
|
SegmentType |
segmentType()
The segment type: DIMENSIONAL - A dynamic segment built from selection criteria based on endpoint data reported
by your app.
|
String |
segmentTypeAsString()
The segment type: DIMENSIONAL - A dynamic segment built from selection criteria based on endpoint data reported
by your app.
|
static Class<? extends SegmentResponse.Builder> |
serializableBuilderClass() |
SegmentResponse.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
Integer |
version()
The segment version number.
|
copy
public String applicationId()
public String creationDate()
public SegmentDimensions dimensions()
public String id()
public SegmentImportResource importDefinition()
public String lastModifiedDate()
public String name()
public SegmentType segmentType()
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()
.
SegmentType
public String segmentTypeAsString()
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()
.
SegmentType
public Integer version()
public SegmentResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<SegmentResponse.Builder,SegmentResponse>
public static SegmentResponse.Builder builder()
public static Class<? extends SegmentResponse.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.