@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class WriteSegmentRequest extends Object implements Serializable, Cloneable, StructuredPojo
| Constructor and Description |
|---|
WriteSegmentRequest() |
| Modifier and Type | Method and Description |
|---|---|
WriteSegmentRequest |
clone() |
boolean |
equals(Object obj) |
SegmentDimensions |
getDimensions()
The segment dimensions attributes.
|
String |
getName()
The name of segment
|
SegmentGroupList |
getSegmentGroups()
Segment definition groups.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
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 void setDimensions(SegmentDimensions dimensions)
dimensions - The segment dimensions attributes.public SegmentDimensions getDimensions()
public WriteSegmentRequest withDimensions(SegmentDimensions dimensions)
dimensions - The segment dimensions attributes.public void setName(String name)
name - The name of segmentpublic String getName()
public WriteSegmentRequest withName(String name)
name - The name of segmentpublic void setSegmentGroups(SegmentGroupList segmentGroups)
segmentGroups - Segment definition groups. We currently only support one. If specified Dimensions must be empty.public SegmentGroupList getSegmentGroups()
public WriteSegmentRequest withSegmentGroups(SegmentGroupList segmentGroups)
segmentGroups - Segment definition groups. We currently only support one. If specified Dimensions must be empty.public String toString()
toString in class ObjectObject.toString()public WriteSegmentRequest clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.