public class AssetPropertyTimestamp extends Object implements Serializable
An asset property timestamp entry containing the following information.
| Constructor and Description |
|---|
AssetPropertyTimestamp() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getOffsetInNanos()
Optional.
|
String |
getTimeInSeconds()
A string that contains the time in seconds since epoch.
|
int |
hashCode() |
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; useful for testing and
debugging.
|
AssetPropertyTimestamp |
withOffsetInNanos(String offsetInNanos)
Optional.
|
AssetPropertyTimestamp |
withTimeInSeconds(String timeInSeconds)
A string that contains the time in seconds since epoch.
|
public String getTimeInSeconds()
A string that contains the time in seconds since epoch. Accepts substitution templates.
A string that contains the time in seconds since epoch. Accepts substitution templates.
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 AssetPropertyTimestamp withTimeInSeconds(String timeInSeconds)
A string that contains the time in seconds since epoch. Accepts substitution templates.
Returns a reference to this object so that method calls can be chained together.
timeInSeconds - A string that contains the time in seconds since epoch. Accepts substitution templates.
public String getOffsetInNanos()
Optional. A string that contains the nanosecond time offset. Accepts substitution templates.
Optional. A string that contains the nanosecond time offset. 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 AssetPropertyTimestamp withOffsetInNanos(String offsetInNanos)
Optional. A string that contains the nanosecond time offset. Accepts substitution templates.
Returns a reference to this object so that method calls can be chained together.
offsetInNanos - Optional. A string that contains the nanosecond time offset. Accepts substitution templates.
public String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.