@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InstanceProperty extends Object implements Serializable, Cloneable, StructuredPojo
A key-value pair you set that identifies a property of the authenticating instance.
Constructor and Description |
---|
InstanceProperty() |
Modifier and Type | Method and Description |
---|---|
InstanceProperty |
addPropertiesEntry(String key,
String value)
Add a single Properties entry
|
InstanceProperty |
clearPropertiesEntries()
Removes all the entries added into Properties.
|
InstanceProperty |
clone() |
boolean |
equals(Object obj) |
Boolean |
getFailed()
Indicates whether the temporary credential request was successful.
|
Map<String,String> |
getProperties()
A list of instanceProperty objects.
|
Date |
getSeenAt()
The ISO-8601 time stamp of when the certificate was last used in a temporary credential request.
|
int |
hashCode() |
Boolean |
isFailed()
Indicates whether the temporary credential request was successful.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFailed(Boolean failed)
Indicates whether the temporary credential request was successful.
|
void |
setProperties(Map<String,String> properties)
A list of instanceProperty objects.
|
void |
setSeenAt(Date seenAt)
The ISO-8601 time stamp of when the certificate was last used in a temporary credential request.
|
String |
toString()
Returns a string representation of this object.
|
InstanceProperty |
withFailed(Boolean failed)
Indicates whether the temporary credential request was successful.
|
InstanceProperty |
withProperties(Map<String,String> properties)
A list of instanceProperty objects.
|
InstanceProperty |
withSeenAt(Date seenAt)
The ISO-8601 time stamp of when the certificate was last used in a temporary credential request.
|
public void setFailed(Boolean failed)
Indicates whether the temporary credential request was successful.
failed
- Indicates whether the temporary credential request was successful.public Boolean getFailed()
Indicates whether the temporary credential request was successful.
public InstanceProperty withFailed(Boolean failed)
Indicates whether the temporary credential request was successful.
failed
- Indicates whether the temporary credential request was successful.public Boolean isFailed()
Indicates whether the temporary credential request was successful.
public Map<String,String> getProperties()
A list of instanceProperty objects.
public void setProperties(Map<String,String> properties)
A list of instanceProperty objects.
properties
- A list of instanceProperty objects.public InstanceProperty withProperties(Map<String,String> properties)
A list of instanceProperty objects.
properties
- A list of instanceProperty objects.public InstanceProperty addPropertiesEntry(String key, String value)
public InstanceProperty clearPropertiesEntries()
public void setSeenAt(Date seenAt)
The ISO-8601 time stamp of when the certificate was last used in a temporary credential request.
seenAt
- The ISO-8601 time stamp of when the certificate was last used in a temporary credential request.public Date getSeenAt()
The ISO-8601 time stamp of when the certificate was last used in a temporary credential request.
public InstanceProperty withSeenAt(Date seenAt)
The ISO-8601 time stamp of when the certificate was last used in a temporary credential request.
seenAt
- The ISO-8601 time stamp of when the certificate was last used in a temporary credential request.public String toString()
toString
in class Object
Object.toString()
public InstanceProperty clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.