Class ComponentDetails

java.lang.Object
software.amazon.awssdk.aws.greengrass.model.ComponentDetails
All Implemented Interfaces:
EventStreamJsonMessage

public class ComponentDetails extends Object implements EventStreamJsonMessage
  • Field Details

  • Constructor Details

    • ComponentDetails

      public ComponentDetails()
  • Method Details

    • 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 interface EventStreamJsonMessage
      Returns:
      the named model type
    • equals

      public boolean equals(Object rhs)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object