@Generated(value="software.amazon.awssdk:codegen") public final class WriteSegmentRequest extends Object implements SdkPojo, Serializable, ToCopyableBuilder<WriteSegmentRequest.Builder,WriteSegmentRequest>
Specifies the configuration, dimension, and other settings for a segment. A WriteSegmentRequest object can include a Dimensions object or a SegmentGroups object, but not both.
Modifier and Type | Class and Description |
---|---|
static interface |
WriteSegmentRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static WriteSegmentRequest.Builder |
builder() |
SegmentDimensions |
dimensions()
The criteria that define the dimensions for the segment.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the segment.
|
List<SdkField<?>> |
sdkFields() |
SegmentGroupList |
segmentGroups()
The segment group to use and the dimensions to apply to the group's base segments in order to build the segment.
|
static Class<? extends WriteSegmentRequest.Builder> |
serializableBuilderClass() |
Map<String,String> |
tags()
A string-to-string map of key-value pairs that defines the tags to associate with the segment.
|
WriteSegmentRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public SegmentDimensions dimensions()
The criteria that define the dimensions for the segment.
public String name()
The name of the segment.
public SegmentGroupList segmentGroups()
The segment group to use and the dimensions to apply to the group's base segments in order to build the segment. A segment group can consist of zero or more base segments. Your request can include only one segment group.
public Map<String,String> tags()
A string-to-string map of key-value pairs that defines the tags to associate 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 WriteSegmentRequest.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<WriteSegmentRequest.Builder,WriteSegmentRequest>
public static WriteSegmentRequest.Builder builder()
public static Class<? extends WriteSegmentRequest.Builder> serializableBuilderClass()
public String toString()
Copyright © 2019. All rights reserved.