public class WriteSegmentRequest extends Object implements Serializable
| Constructor and Description |
|---|
WriteSegmentRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
SegmentDimensions |
getDimensions()
The segment dimensions attributes.
|
String |
getName()
The name of segment
|
SegmentGroupList |
getSegmentGroups()
Segment definition groups.
|
int |
hashCode() |
void |
setDimensions(SegmentDimensions dimensions)
The segment dimensions attributes.
|
void |
setName(String name)
The name of segment
|
void |
setSegmentGroups(SegmentGroupList segmentGroups)
Segment definition groups.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
WriteSegmentRequest |
withDimensions(SegmentDimensions dimensions)
The segment dimensions attributes.
|
WriteSegmentRequest |
withName(String name)
The name of segment
|
WriteSegmentRequest |
withSegmentGroups(SegmentGroupList segmentGroups)
Segment definition groups.
|
public SegmentDimensions getDimensions()
public void setDimensions(SegmentDimensions dimensions)
dimensions - The segment dimensions attributes.public WriteSegmentRequest withDimensions(SegmentDimensions dimensions)
Returns a reference to this object so that method calls can be chained together.
dimensions - The segment dimensions attributes.public String getName()
public void setName(String name)
name - The name of segmentpublic WriteSegmentRequest withName(String name)
Returns a reference to this object so that method calls can be chained together.
name - The name of segmentpublic SegmentGroupList getSegmentGroups()
public void setSegmentGroups(SegmentGroupList segmentGroups)
segmentGroups - Segment definition groups. We currently only support
one. If specified Dimensions must be empty.public WriteSegmentRequest withSegmentGroups(SegmentGroupList segmentGroups)
Returns a reference to this object so that method calls can be chained together.
segmentGroups - Segment definition groups. We currently only support
one. If specified Dimensions must be empty.public String toString()
toString in class ObjectObject.toString()Copyright © 2018. All rights reserved.