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 String
APPLICATION_MODEL_TYPE
static ComponentDetails
VOID
-
Constructor Summary
Constructors Constructor Description ComponentDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object rhs)
String
getApplicationModelType()
Returns the named model type.String
getComponentName()
The name of the component.Map<String,Object>
getConfiguration()
The component's configuration as a JSON object.LifecycleState
getState()
String
getStateAsString()
The state of the component.String
getVersion()
The version of the component.int
hashCode()
void
setComponentName(String componentName)
The name of the component.void
setConfiguration(Map<String,Object> configuration)
The component's configuration as a JSON object.void
setState(String state)
The state of the component.void
setState(LifecycleState state)
The state of the component.void
setVersion(String version)
The version of the component.ComponentDetails
withComponentName(String componentName)
The name of the component.ComponentDetails
withConfiguration(Map<String,Object> configuration)
The component's configuration as a JSON object.ComponentDetails
withState(String state)
The state of the component.ComponentDetails
withState(LifecycleState state)
The state of the component.ComponentDetails
withVersion(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:EventStreamJsonMessage
Returns the named model type. May be used for a header.- Specified by:
getApplicationModelType
in interfaceEventStreamJsonMessage
- Returns:
- the named model type
-
-