@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SegmentReference extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
SegmentReference() |
Modifier and Type | Method and Description |
---|---|
SegmentReference |
clone() |
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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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.
|
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 void setId(String id)
id
- A unique identifier for the segment.public String getId()
public SegmentReference withId(String id)
id
- A unique identifier for the segment.public void setVersion(Integer version)
version
- If specified contains a specific version of the segment included.public Integer getVersion()
public SegmentReference withVersion(Integer version)
version
- If specified contains a specific version of the segment included.public String toString()
toString
in class Object
Object.toString()
public SegmentReference clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.