public class AssetPropertyTimestamp
extends java.lang.Object
implements java.io.Serializable
An asset property timestamp entry containing the following information.
Constructor and Description |
---|
AssetPropertyTimestamp() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getOffsetInNanos()
Optional.
|
java.lang.String |
getTimeInSeconds()
A string that contains the time in seconds since epoch.
|
int |
hashCode() |
void |
setOffsetInNanos(java.lang.String offsetInNanos)
Optional.
|
void |
setTimeInSeconds(java.lang.String timeInSeconds)
A string that contains the time in seconds since epoch.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AssetPropertyTimestamp |
withOffsetInNanos(java.lang.String offsetInNanos)
Optional.
|
AssetPropertyTimestamp |
withTimeInSeconds(java.lang.String timeInSeconds)
A string that contains the time in seconds since epoch.
|
public java.lang.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(java.lang.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(java.lang.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 java.lang.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(java.lang.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(java.lang.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 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.