public class Segment extends Object implements Serializable, Cloneable
Information about a segment
Constructor and Description |
---|
Segment() |
Modifier and Type | Method and Description |
---|---|
Segment |
clone() |
boolean |
equals(Object obj) |
String |
getDocument()
The segment document.
|
String |
getId()
The segment's ID.
|
int |
hashCode() |
void |
setDocument(String document)
The segment document.
|
void |
setId(String id)
The segment's ID.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Segment |
withDocument(String document)
The segment document.
|
Segment |
withId(String id)
The segment's ID.
|
public void setId(String id)
The segment's ID.
id
- The segment's ID.public String getId()
The segment's ID.
public Segment withId(String id)
The segment's ID.
id
- The segment's ID.public void setDocument(String document)
The segment document.
document
- The segment document.public String getDocument()
The segment document.
public Segment withDocument(String document)
The segment document.
document
- The segment document.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.