@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TimestampPartition extends Object implements Serializable, Cloneable, StructuredPojo
A partition dimension defined by a timestamp attribute.
Constructor and Description |
---|
TimestampPartition() |
Modifier and Type | Method and Description |
---|---|
TimestampPartition |
clone() |
boolean |
equals(Object obj) |
String |
getAttributeName()
The attribute name of the partition defined by a timestamp.
|
String |
getTimestampFormat()
The timestamp format of a partition defined by a timestamp.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAttributeName(String attributeName)
The attribute name of the partition defined by a timestamp.
|
void |
setTimestampFormat(String timestampFormat)
The timestamp format of a partition defined by a timestamp.
|
String |
toString()
Returns a string representation of this object.
|
TimestampPartition |
withAttributeName(String attributeName)
The attribute name of the partition defined by a timestamp.
|
TimestampPartition |
withTimestampFormat(String timestampFormat)
The timestamp format of a partition defined by a timestamp.
|
public void setAttributeName(String attributeName)
The attribute name of the partition defined by a timestamp.
attributeName
- The attribute name of the partition defined by a timestamp.public String getAttributeName()
The attribute name of the partition defined by a timestamp.
public TimestampPartition withAttributeName(String attributeName)
The attribute name of the partition defined by a timestamp.
attributeName
- The attribute name of the partition defined by a timestamp.public void setTimestampFormat(String timestampFormat)
The timestamp format of a partition defined by a timestamp. The default format is seconds since epoch (January 1, 1970 at midnight UTC time).
timestampFormat
- The timestamp format of a partition defined by a timestamp. The default format is seconds since epoch
(January 1, 1970 at midnight UTC time).public String getTimestampFormat()
The timestamp format of a partition defined by a timestamp. The default format is seconds since epoch (January 1, 1970 at midnight UTC time).
public TimestampPartition withTimestampFormat(String timestampFormat)
The timestamp format of a partition defined by a timestamp. The default format is seconds since epoch (January 1, 1970 at midnight UTC time).
timestampFormat
- The timestamp format of a partition defined by a timestamp. The default format is seconds since epoch
(January 1, 1970 at midnight UTC time).public String toString()
toString
in class Object
Object.toString()
public TimestampPartition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.