@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ComponentConfigurationUpdate extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about a deployment's update to a component's configuration on Greengrass core devices. For more information, see Update component configurations in the IoT Greengrass V2 Developer Guide.
Constructor and Description |
---|
ComponentConfigurationUpdate() |
Modifier and Type | Method and Description |
---|---|
ComponentConfigurationUpdate |
clone() |
boolean |
equals(Object obj) |
String |
getMerge()
A serialized JSON string that contains the configuration object to merge to target devices.
|
List<String> |
getReset()
The list of configuration nodes to reset to default values on target devices.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMerge(String merge)
A serialized JSON string that contains the configuration object to merge to target devices.
|
void |
setReset(Collection<String> reset)
The list of configuration nodes to reset to default values on target devices.
|
String |
toString()
Returns a string representation of this object.
|
ComponentConfigurationUpdate |
withMerge(String merge)
A serialized JSON string that contains the configuration object to merge to target devices.
|
ComponentConfigurationUpdate |
withReset(Collection<String> reset)
The list of configuration nodes to reset to default values on target devices.
|
ComponentConfigurationUpdate |
withReset(String... reset)
The list of configuration nodes to reset to default values on target devices.
|
public void setMerge(String merge)
A serialized JSON string that contains the configuration object to merge to target devices. The core device merges this configuration with the component's existing configuration. If this is the first time a component deploys on a device, the core device merges this configuration with the component's default configuration. This means that the core device keeps it's existing configuration for keys and values that you don't specify in this object. For more information, see Merge configuration updates in the IoT Greengrass V2 Developer Guide.
merge
- A serialized JSON string that contains the configuration object to merge to target devices. The core
device merges this configuration with the component's existing configuration. If this is the first time a
component deploys on a device, the core device merges this configuration with the component's default
configuration. This means that the core device keeps it's existing configuration for keys and values that
you don't specify in this object. For more information, see Merge configuration updates in the IoT Greengrass V2 Developer Guide.public String getMerge()
A serialized JSON string that contains the configuration object to merge to target devices. The core device merges this configuration with the component's existing configuration. If this is the first time a component deploys on a device, the core device merges this configuration with the component's default configuration. This means that the core device keeps it's existing configuration for keys and values that you don't specify in this object. For more information, see Merge configuration updates in the IoT Greengrass V2 Developer Guide.
public ComponentConfigurationUpdate withMerge(String merge)
A serialized JSON string that contains the configuration object to merge to target devices. The core device merges this configuration with the component's existing configuration. If this is the first time a component deploys on a device, the core device merges this configuration with the component's default configuration. This means that the core device keeps it's existing configuration for keys and values that you don't specify in this object. For more information, see Merge configuration updates in the IoT Greengrass V2 Developer Guide.
merge
- A serialized JSON string that contains the configuration object to merge to target devices. The core
device merges this configuration with the component's existing configuration. If this is the first time a
component deploys on a device, the core device merges this configuration with the component's default
configuration. This means that the core device keeps it's existing configuration for keys and values that
you don't specify in this object. For more information, see Merge configuration updates in the IoT Greengrass V2 Developer Guide.public List<String> getReset()
The list of configuration nodes to reset to default values on target devices. Use JSON pointers to specify each
node to reset. JSON pointers start with a forward slash (/
) and use forward slashes to separate the
key for each level in the object. For more information, see the JSON pointer specification and Reset configuration updates in the IoT Greengrass V2 Developer Guide.
/
) and use forward
slashes to separate the key for each level in the object. For more information, see the JSON pointer specification and Reset configuration updates in the IoT Greengrass V2 Developer Guide.public void setReset(Collection<String> reset)
The list of configuration nodes to reset to default values on target devices. Use JSON pointers to specify each
node to reset. JSON pointers start with a forward slash (/
) and use forward slashes to separate the
key for each level in the object. For more information, see the JSON pointer specification and Reset configuration updates in the IoT Greengrass V2 Developer Guide.
reset
- The list of configuration nodes to reset to default values on target devices. Use JSON pointers to specify
each node to reset. JSON pointers start with a forward slash (/
) and use forward slashes to
separate the key for each level in the object. For more information, see the JSON pointer specification and Reset configuration updates in the IoT Greengrass V2 Developer Guide.public ComponentConfigurationUpdate withReset(String... reset)
The list of configuration nodes to reset to default values on target devices. Use JSON pointers to specify each
node to reset. JSON pointers start with a forward slash (/
) and use forward slashes to separate the
key for each level in the object. For more information, see the JSON pointer specification and Reset configuration updates in the IoT Greengrass V2 Developer Guide.
NOTE: This method appends the values to the existing list (if any). Use
setReset(java.util.Collection)
or withReset(java.util.Collection)
if you want to override the
existing values.
reset
- The list of configuration nodes to reset to default values on target devices. Use JSON pointers to specify
each node to reset. JSON pointers start with a forward slash (/
) and use forward slashes to
separate the key for each level in the object. For more information, see the JSON pointer specification and Reset configuration updates in the IoT Greengrass V2 Developer Guide.public ComponentConfigurationUpdate withReset(Collection<String> reset)
The list of configuration nodes to reset to default values on target devices. Use JSON pointers to specify each
node to reset. JSON pointers start with a forward slash (/
) and use forward slashes to separate the
key for each level in the object. For more information, see the JSON pointer specification and Reset configuration updates in the IoT Greengrass V2 Developer Guide.
reset
- The list of configuration nodes to reset to default values on target devices. Use JSON pointers to specify
each node to reset. JSON pointers start with a forward slash (/
) and use forward slashes to
separate the key for each level in the object. For more information, see the JSON pointer specification and Reset configuration updates in the IoT Greengrass V2 Developer Guide.public String toString()
toString
in class Object
Object.toString()
public ComponentConfigurationUpdate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.