public class SegmentReference extends Object implements Serializable
| Constructor and Description |
|---|
SegmentReference() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getId()
A unique identifier for the segment.
|
Integer |
getVersion()
If specified contains a specific version of the segment included.
|
int |
hashCode() |
void |
setId(String id)
A unique identifier for the segment.
|
void |
setVersion(Integer version)
If specified contains a specific version of the segment included.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SegmentReference |
withId(String id)
A unique identifier for the segment.
|
SegmentReference |
withVersion(Integer version)
If specified contains a specific version of the segment included.
|
public String getId()
public void setId(String id)
id - A unique identifier for the segment.public SegmentReference withId(String id)
Returns a reference to this object so that method calls can be chained together.
id - A unique identifier for the segment.public Integer getVersion()
public void setVersion(Integer version)
version - If specified contains a specific version of the segment
included.public SegmentReference withVersion(Integer version)
Returns a reference to this object so that method calls can be chained together.
version - If specified contains a specific version of the segment
included.public String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.