Class UpdateConfigurationRequest

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

public class UpdateConfigurationRequest extends Object implements EventStreamJsonMessage
  • Field Details

  • Constructor Details

    • UpdateConfigurationRequest

      public UpdateConfigurationRequest()
  • Method Details

    • getKeyPath

      public List<String> getKeyPath()
      (Optional) The key path to the container node (the object) to update. Specify a list where each entry is the key for a single level in the configuration object. Defaults to the root of the configuration object.
    • setKeyPath

      public void setKeyPath(List<String> keyPath)
      (Optional) The key path to the container node (the object) to update. Specify a list where each entry is the key for a single level in the configuration object. Defaults to the root of the configuration object.
    • withKeyPath

      public UpdateConfigurationRequest withKeyPath(List<String> keyPath)
      (Optional) The key path to the container node (the object) to update. Specify a list where each entry is the key for a single level in the configuration object. Defaults to the root of the configuration object.
    • getTimestamp

      public Instant getTimestamp()
      The current Unix epoch time in milliseconds. This operation uses this timestamp to resolve concurrent updates to the key. If the key in the component configuration has a greater timestamp than the timestamp in the request, then the request fails.
    • setTimestamp

      public void setTimestamp(Instant timestamp)
      The current Unix epoch time in milliseconds. This operation uses this timestamp to resolve concurrent updates to the key. If the key in the component configuration has a greater timestamp than the timestamp in the request, then the request fails.
    • withTimestamp

      public UpdateConfigurationRequest withTimestamp(Instant timestamp)
      The current Unix epoch time in milliseconds. This operation uses this timestamp to resolve concurrent updates to the key. If the key in the component configuration has a greater timestamp than the timestamp in the request, then the request fails.
    • getValueToMerge

      public Map<String,Object> getValueToMerge()
      The configuration object to merge at the location that you specify in keyPath.
    • setValueToMerge

      public void setValueToMerge(Map<String,Object> valueToMerge)
      The configuration object to merge at the location that you specify in keyPath.
    • withValueToMerge

      public UpdateConfigurationRequest withValueToMerge(Map<String,Object> valueToMerge)
      The configuration object to merge at the location that you specify in keyPath.
    • 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