Class UpdateConfigurationRequest
- java.lang.Object
-
- software.amazon.awssdk.aws.greengrass.model.UpdateConfigurationRequest
-
- All Implemented Interfaces:
EventStreamJsonMessage
public class UpdateConfigurationRequest extends Object implements EventStreamJsonMessage
-
-
Field Summary
Fields Modifier and Type Field Description static String
APPLICATION_MODEL_TYPE
static UpdateConfigurationRequest
VOID
-
Constructor Summary
Constructors Constructor Description UpdateConfigurationRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object rhs)
String
getApplicationModelType()
Returns the named model type.List<String>
getKeyPath()
(Optional) The key path to the container node (the object) to update.Instant
getTimestamp()
The current Unix epoch time in milliseconds.Map<String,Object>
getValueToMerge()
The configuration object to merge at the location that you specify in keyPath.int
hashCode()
void
setKeyPath(List<String> keyPath)
(Optional) The key path to the container node (the object) to update.void
setTimestamp(Instant timestamp)
The current Unix epoch time in milliseconds.void
setValueToMerge(Map<String,Object> valueToMerge)
The configuration object to merge at the location that you specify in keyPath.UpdateConfigurationRequest
withKeyPath(List<String> keyPath)
(Optional) The key path to the container node (the object) to update.UpdateConfigurationRequest
withTimestamp(Instant timestamp)
The current Unix epoch time in milliseconds.UpdateConfigurationRequest
withValueToMerge(Map<String,Object> valueToMerge)
The configuration object to merge at the location that you specify in keyPath.-
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 UpdateConfigurationRequest VOID
-
-
Method Detail
-
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 interfaceEventStreamJsonMessage
- Returns:
- the named model type
-
-