Class ComponentDetails
- java.lang.Object
-
- software.amazon.awssdk.aws.greengrass.model.ComponentDetails
-
- All Implemented Interfaces:
EventStreamJsonMessage
public class ComponentDetails extends Object implements EventStreamJsonMessage
-
-
Field Summary
Fields Modifier and Type Field Description static StringAPPLICATION_MODEL_TYPEstatic ComponentDetailsVOID
-
Constructor Summary
Constructors Constructor Description ComponentDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object rhs)StringgetApplicationModelType()Returns the named model type.StringgetComponentName()The name of the component.Map<String,Object>getConfiguration()The component's configuration as a JSON object.LifecycleStategetState()StringgetStateAsString()The state of the component.StringgetVersion()The version of the component.inthashCode()voidsetComponentName(String componentName)The name of the component.voidsetConfiguration(Map<String,Object> configuration)The component's configuration as a JSON object.voidsetState(String state)The state of the component.voidsetState(LifecycleState state)The state of the component.voidsetVersion(String version)The version of the component.ComponentDetailswithComponentName(String componentName)The name of the component.ComponentDetailswithConfiguration(Map<String,Object> configuration)The component's configuration as a JSON object.ComponentDetailswithState(String state)The state of the component.ComponentDetailswithState(LifecycleState state)The state of the component.ComponentDetailswithVersion(String version)The version of the component.-
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.eventstreamrpc.model.EventStreamJsonMessage
fromJson, isVoid, postFromJson, toPayload
-
-
-
-
Field Detail
-
APPLICATION_MODEL_TYPE
public static final String APPLICATION_MODEL_TYPE
- See Also:
- Constant Field Values
-
VOID
public static final ComponentDetails VOID
-
-
Method Detail
-
getComponentName
public String getComponentName()
The name of the component.
-
setComponentName
public void setComponentName(String componentName)
The name of the component.
-
withComponentName
public ComponentDetails withComponentName(String componentName)
The name of the component.
-
getVersion
public String getVersion()
The version of the component.
-
setVersion
public void setVersion(String version)
The version of the component.
-
withVersion
public ComponentDetails withVersion(String version)
The version of the component.
-
getState
public LifecycleState getState()
-
getStateAsString
public String getStateAsString()
The state of the component.
-
setState
public void setState(String state)
The state of the component.
-
withState
public ComponentDetails withState(String state)
The state of the component.
-
setState
public void setState(LifecycleState state)
The state of the component.
-
withState
public ComponentDetails withState(LifecycleState state)
The state of the component.
-
getConfiguration
public Map<String,Object> getConfiguration()
The component's configuration as a JSON object.
-
setConfiguration
public void setConfiguration(Map<String,Object> configuration)
The component's configuration as a JSON object.
-
withConfiguration
public ComponentDetails withConfiguration(Map<String,Object> configuration)
The component's configuration as a JSON object.
-
getApplicationModelType
public String getApplicationModelType()
Description copied from interface:EventStreamJsonMessageReturns the named model type. May be used for a header.- Specified by:
getApplicationModelTypein interfaceEventStreamJsonMessage- Returns:
- the named model type
-
-