@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ApplicationInstance extends Object implements Serializable, Cloneable, StructuredPojo
An application instance on a device.
Constructor and Description |
---|
ApplicationInstance() |
Modifier and Type | Method and Description |
---|---|
ApplicationInstance |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
ApplicationInstance |
clearTagsEntries()
Removes all the entries added into Tags.
|
ApplicationInstance |
clone() |
boolean |
equals(Object obj) |
String |
getApplicationInstanceId()
The application instance's ID.
|
String |
getArn()
The application instance's ARN.
|
Date |
getCreatedTime()
When the application instance was created.
|
String |
getDefaultRuntimeContextDevice()
The device's ID.
|
String |
getDefaultRuntimeContextDeviceName()
The device's name.
|
String |
getDescription()
The application instance's description.
|
String |
getHealthStatus()
The application instance's health status.
|
String |
getName()
The application instance's name.
|
List<ReportedRuntimeContextState> |
getRuntimeContextStates()
The application's state.
|
String |
getStatus()
The application instance's status.
|
String |
getStatusDescription()
The application instance's status description.
|
Map<String,String> |
getTags()
The application instance's tags.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setApplicationInstanceId(String applicationInstanceId)
The application instance's ID.
|
void |
setArn(String arn)
The application instance's ARN.
|
void |
setCreatedTime(Date createdTime)
When the application instance was created.
|
void |
setDefaultRuntimeContextDevice(String defaultRuntimeContextDevice)
The device's ID.
|
void |
setDefaultRuntimeContextDeviceName(String defaultRuntimeContextDeviceName)
The device's name.
|
void |
setDescription(String description)
The application instance's description.
|
void |
setHealthStatus(String healthStatus)
The application instance's health status.
|
void |
setName(String name)
The application instance's name.
|
void |
setRuntimeContextStates(Collection<ReportedRuntimeContextState> runtimeContextStates)
The application's state.
|
void |
setStatus(String status)
The application instance's status.
|
void |
setStatusDescription(String statusDescription)
The application instance's status description.
|
void |
setTags(Map<String,String> tags)
The application instance's tags.
|
String |
toString()
Returns a string representation of this object.
|
ApplicationInstance |
withApplicationInstanceId(String applicationInstanceId)
The application instance's ID.
|
ApplicationInstance |
withArn(String arn)
The application instance's ARN.
|
ApplicationInstance |
withCreatedTime(Date createdTime)
When the application instance was created.
|
ApplicationInstance |
withDefaultRuntimeContextDevice(String defaultRuntimeContextDevice)
The device's ID.
|
ApplicationInstance |
withDefaultRuntimeContextDeviceName(String defaultRuntimeContextDeviceName)
The device's name.
|
ApplicationInstance |
withDescription(String description)
The application instance's description.
|
ApplicationInstance |
withHealthStatus(ApplicationInstanceHealthStatus healthStatus)
The application instance's health status.
|
ApplicationInstance |
withHealthStatus(String healthStatus)
The application instance's health status.
|
ApplicationInstance |
withName(String name)
The application instance's name.
|
ApplicationInstance |
withRuntimeContextStates(Collection<ReportedRuntimeContextState> runtimeContextStates)
The application's state.
|
ApplicationInstance |
withRuntimeContextStates(ReportedRuntimeContextState... runtimeContextStates)
The application's state.
|
ApplicationInstance |
withStatus(ApplicationInstanceStatus status)
The application instance's status.
|
ApplicationInstance |
withStatus(String status)
The application instance's status.
|
ApplicationInstance |
withStatusDescription(String statusDescription)
The application instance's status description.
|
ApplicationInstance |
withTags(Map<String,String> tags)
The application instance's tags.
|
public void setApplicationInstanceId(String applicationInstanceId)
The application instance's ID.
applicationInstanceId
- The application instance's ID.public String getApplicationInstanceId()
The application instance's ID.
public ApplicationInstance withApplicationInstanceId(String applicationInstanceId)
The application instance's ID.
applicationInstanceId
- The application instance's ID.public void setArn(String arn)
The application instance's ARN.
arn
- The application instance's ARN.public String getArn()
The application instance's ARN.
public ApplicationInstance withArn(String arn)
The application instance's ARN.
arn
- The application instance's ARN.public void setCreatedTime(Date createdTime)
When the application instance was created.
createdTime
- When the application instance was created.public Date getCreatedTime()
When the application instance was created.
public ApplicationInstance withCreatedTime(Date createdTime)
When the application instance was created.
createdTime
- When the application instance was created.public void setDefaultRuntimeContextDevice(String defaultRuntimeContextDevice)
The device's ID.
defaultRuntimeContextDevice
- The device's ID.public String getDefaultRuntimeContextDevice()
The device's ID.
public ApplicationInstance withDefaultRuntimeContextDevice(String defaultRuntimeContextDevice)
The device's ID.
defaultRuntimeContextDevice
- The device's ID.public void setDefaultRuntimeContextDeviceName(String defaultRuntimeContextDeviceName)
The device's name.
defaultRuntimeContextDeviceName
- The device's name.public String getDefaultRuntimeContextDeviceName()
The device's name.
public ApplicationInstance withDefaultRuntimeContextDeviceName(String defaultRuntimeContextDeviceName)
The device's name.
defaultRuntimeContextDeviceName
- The device's name.public void setDescription(String description)
The application instance's description.
description
- The application instance's description.public String getDescription()
The application instance's description.
public ApplicationInstance withDescription(String description)
The application instance's description.
description
- The application instance's description.public void setHealthStatus(String healthStatus)
The application instance's health status.
healthStatus
- The application instance's health status.ApplicationInstanceHealthStatus
public String getHealthStatus()
The application instance's health status.
ApplicationInstanceHealthStatus
public ApplicationInstance withHealthStatus(String healthStatus)
The application instance's health status.
healthStatus
- The application instance's health status.ApplicationInstanceHealthStatus
public ApplicationInstance withHealthStatus(ApplicationInstanceHealthStatus healthStatus)
The application instance's health status.
healthStatus
- The application instance's health status.ApplicationInstanceHealthStatus
public void setName(String name)
The application instance's name.
name
- The application instance's name.public String getName()
The application instance's name.
public ApplicationInstance withName(String name)
The application instance's name.
name
- The application instance's name.public List<ReportedRuntimeContextState> getRuntimeContextStates()
The application's state.
public void setRuntimeContextStates(Collection<ReportedRuntimeContextState> runtimeContextStates)
The application's state.
runtimeContextStates
- The application's state.public ApplicationInstance withRuntimeContextStates(ReportedRuntimeContextState... runtimeContextStates)
The application's state.
NOTE: This method appends the values to the existing list (if any). Use
setRuntimeContextStates(java.util.Collection)
or withRuntimeContextStates(java.util.Collection)
if you want to override the existing values.
runtimeContextStates
- The application's state.public ApplicationInstance withRuntimeContextStates(Collection<ReportedRuntimeContextState> runtimeContextStates)
The application's state.
runtimeContextStates
- The application's state.public void setStatus(String status)
The application instance's status.
status
- The application instance's status.ApplicationInstanceStatus
public String getStatus()
The application instance's status.
ApplicationInstanceStatus
public ApplicationInstance withStatus(String status)
The application instance's status.
status
- The application instance's status.ApplicationInstanceStatus
public ApplicationInstance withStatus(ApplicationInstanceStatus status)
The application instance's status.
status
- The application instance's status.ApplicationInstanceStatus
public void setStatusDescription(String statusDescription)
The application instance's status description.
statusDescription
- The application instance's status description.public String getStatusDescription()
The application instance's status description.
public ApplicationInstance withStatusDescription(String statusDescription)
The application instance's status description.
statusDescription
- The application instance's status description.public Map<String,String> getTags()
The application instance's tags.
public void setTags(Map<String,String> tags)
The application instance's tags.
tags
- The application instance's tags.public ApplicationInstance withTags(Map<String,String> tags)
The application instance's tags.
tags
- The application instance's tags.public ApplicationInstance addTagsEntry(String key, String value)
public ApplicationInstance clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public ApplicationInstance clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.