@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssetPropertyTimestamp extends Object implements Serializable, Cloneable, StructuredPojo
An asset property timestamp entry containing the following information.
Constructor and Description |
---|
AssetPropertyTimestamp() |
Modifier and Type | Method and Description |
---|---|
AssetPropertyTimestamp |
clone() |
boolean |
equals(Object obj) |
String |
getOffsetInNanos()
Optional.
|
String |
getTimeInSeconds()
A string that contains the time in seconds since epoch.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setOffsetInNanos(String offsetInNanos)
Optional.
|
void |
setTimeInSeconds(String timeInSeconds)
A string that contains the time in seconds since epoch.
|
String |
toString()
Returns a string representation of this object.
|
AssetPropertyTimestamp |
withOffsetInNanos(String offsetInNanos)
Optional.
|
AssetPropertyTimestamp |
withTimeInSeconds(String timeInSeconds)
A string that contains the time in seconds since epoch.
|
public void setTimeInSeconds(String timeInSeconds)
A string that contains the time in seconds since epoch. Accepts substitution templates.
timeInSeconds
- A string that contains the time in seconds since epoch. Accepts substitution templates.public String getTimeInSeconds()
A string that contains the time in seconds since epoch. Accepts substitution templates.
public AssetPropertyTimestamp withTimeInSeconds(String timeInSeconds)
A string that contains the time in seconds since epoch. Accepts substitution templates.
timeInSeconds
- A string that contains the time in seconds since epoch. Accepts substitution templates.public void setOffsetInNanos(String offsetInNanos)
Optional. A string that contains the nanosecond time offset. Accepts substitution templates.
offsetInNanos
- Optional. A string that contains the nanosecond time offset. Accepts substitution templates.public String getOffsetInNanos()
Optional. A string that contains the nanosecond time offset. Accepts substitution templates.
public AssetPropertyTimestamp withOffsetInNanos(String offsetInNanos)
Optional. A string that contains the nanosecond time offset. Accepts substitution templates.
offsetInNanos
- Optional. A string that contains the nanosecond time offset. Accepts substitution templates.public String toString()
toString
in class Object
Object.toString()
public AssetPropertyTimestamp clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2023. All rights reserved.