public class SegmentReference
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
SegmentReference() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getId()
A unique identifier for the segment.
|
java.lang.Integer |
getVersion()
If specified contains a specific version of the segment included.
|
int |
hashCode() |
void |
setId(java.lang.String id)
A unique identifier for the segment.
|
void |
setVersion(java.lang.Integer version)
If specified contains a specific version of the segment included.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SegmentReference |
withId(java.lang.String id)
A unique identifier for the segment.
|
SegmentReference |
withVersion(java.lang.Integer version)
If specified contains a specific version of the segment included.
|
public java.lang.String getId()
public void setId(java.lang.String id)
id
- A unique identifier for the segment.public SegmentReference withId(java.lang.String id)
Returns a reference to this object so that method calls can be chained together.
id
- A unique identifier for the segment.public java.lang.Integer getVersion()
public void setVersion(java.lang.Integer version)
version
- If specified contains a specific version of the segment
included.public SegmentReference withVersion(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.