@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetRecordResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetRecordResult() |
Modifier and Type | Method and Description |
---|---|
GetRecordResult |
clone() |
boolean |
equals(Object obj) |
String |
getExpiresAt()
The
ExpiresAt ISO string of the requested record. |
List<FeatureValue> |
getRecord()
The record you requested.
|
int |
hashCode() |
void |
setExpiresAt(String expiresAt)
The
ExpiresAt ISO string of the requested record. |
void |
setRecord(Collection<FeatureValue> record)
The record you requested.
|
String |
toString()
Returns a string representation of this object.
|
GetRecordResult |
withExpiresAt(String expiresAt)
The
ExpiresAt ISO string of the requested record. |
GetRecordResult |
withRecord(Collection<FeatureValue> record)
The record you requested.
|
GetRecordResult |
withRecord(FeatureValue... record)
The record you requested.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<FeatureValue> getRecord()
The record you requested. A list of FeatureValues
.
FeatureValues
.public void setRecord(Collection<FeatureValue> record)
The record you requested. A list of FeatureValues
.
record
- The record you requested. A list of FeatureValues
.public GetRecordResult withRecord(FeatureValue... record)
The record you requested. A list of FeatureValues
.
NOTE: This method appends the values to the existing list (if any). Use
setRecord(java.util.Collection)
or withRecord(java.util.Collection)
if you want to override the
existing values.
record
- The record you requested. A list of FeatureValues
.public GetRecordResult withRecord(Collection<FeatureValue> record)
The record you requested. A list of FeatureValues
.
record
- The record you requested. A list of FeatureValues
.public void setExpiresAt(String expiresAt)
The ExpiresAt
ISO string of the requested record.
expiresAt
- The ExpiresAt
ISO string of the requested record.public String getExpiresAt()
The ExpiresAt
ISO string of the requested record.
ExpiresAt
ISO string of the requested record.public GetRecordResult withExpiresAt(String expiresAt)
The ExpiresAt
ISO string of the requested record.
expiresAt
- The ExpiresAt
ISO string of the requested record.public String toString()
toString
in class Object
Object.toString()
public GetRecordResult clone()