@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Anchor extends Object implements Serializable, Cloneable, StructuredPojo
The definition of the Anchor.
Constructor and Description |
---|
Anchor() |
Modifier and Type | Method and Description |
---|---|
Anchor |
clone() |
boolean |
equals(Object obj) |
String |
getAnchorType()
The
AnchorType for the Anchor. |
Integer |
getOffset()
The offset of the Anchor.
|
String |
getTimeGranularity()
The
TimeGranularity of the Anchor. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAnchorType(String anchorType)
The
AnchorType for the Anchor. |
void |
setOffset(Integer offset)
The offset of the Anchor.
|
void |
setTimeGranularity(String timeGranularity)
The
TimeGranularity of the Anchor. |
String |
toString()
Returns a string representation of this object.
|
Anchor |
withAnchorType(AnchorType anchorType)
The
AnchorType for the Anchor. |
Anchor |
withAnchorType(String anchorType)
The
AnchorType for the Anchor. |
Anchor |
withOffset(Integer offset)
The offset of the Anchor.
|
Anchor |
withTimeGranularity(String timeGranularity)
The
TimeGranularity of the Anchor. |
Anchor |
withTimeGranularity(TimeGranularity timeGranularity)
The
TimeGranularity of the Anchor. |
public void setAnchorType(String anchorType)
The AnchorType
for the Anchor.
anchorType
- The AnchorType
for the Anchor.AnchorType
public String getAnchorType()
The AnchorType
for the Anchor.
AnchorType
for the Anchor.AnchorType
public Anchor withAnchorType(String anchorType)
The AnchorType
for the Anchor.
anchorType
- The AnchorType
for the Anchor.AnchorType
public Anchor withAnchorType(AnchorType anchorType)
The AnchorType
for the Anchor.
anchorType
- The AnchorType
for the Anchor.AnchorType
public void setTimeGranularity(String timeGranularity)
The TimeGranularity
of the Anchor.
timeGranularity
- The TimeGranularity
of the Anchor.TimeGranularity
public String getTimeGranularity()
The TimeGranularity
of the Anchor.
TimeGranularity
of the Anchor.TimeGranularity
public Anchor withTimeGranularity(String timeGranularity)
The TimeGranularity
of the Anchor.
timeGranularity
- The TimeGranularity
of the Anchor.TimeGranularity
public Anchor withTimeGranularity(TimeGranularity timeGranularity)
The TimeGranularity
of the Anchor.
timeGranularity
- The TimeGranularity
of the Anchor.TimeGranularity
public void setOffset(Integer offset)
The offset of the Anchor.
offset
- The offset of the Anchor.public Integer getOffset()
The offset of the Anchor.
public Anchor withOffset(Integer offset)
The offset of the Anchor.
offset
- The offset of the Anchor.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.