Class SubscribeToConfigurationUpdateRequest
- java.lang.Object
-
- software.amazon.awssdk.aws.greengrass.model.SubscribeToConfigurationUpdateRequest
-
- All Implemented Interfaces:
EventStreamJsonMessage
public class SubscribeToConfigurationUpdateRequest extends Object implements EventStreamJsonMessage
-
-
Field Summary
Fields Modifier and Type Field Description static String
APPLICATION_MODEL_TYPE
static SubscribeToConfigurationUpdateRequest
VOID
-
Constructor Summary
Constructors Constructor Description SubscribeToConfigurationUpdateRequest()
-
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()
(Optional) The name of the component.List<String>
getKeyPath()
The key path to the configuration value for which to subscribe.int
hashCode()
void
setComponentName(String componentName)
(Optional) The name of the component.void
setKeyPath(List<String> keyPath)
The key path to the configuration value for which to subscribe.SubscribeToConfigurationUpdateRequest
withComponentName(String componentName)
(Optional) The name of the component.SubscribeToConfigurationUpdateRequest
withKeyPath(List<String> keyPath)
The key path to the configuration value for which to subscribe.-
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 SubscribeToConfigurationUpdateRequest VOID
-
-
Method Detail
-
getComponentName
public String getComponentName()
(Optional) The name of the component. Defaults to the name of the component that makes the request.
-
setComponentName
public void setComponentName(String componentName)
(Optional) The name of the component. Defaults to the name of the component that makes the request.
-
withComponentName
public SubscribeToConfigurationUpdateRequest withComponentName(String componentName)
(Optional) The name of the component. Defaults to the name of the component that makes the request.
-
getKeyPath
public List<String> getKeyPath()
The key path to the configuration value for which to subscribe. Specify a list where each entry is the key for a single level in the configuration object.
-
setKeyPath
public void setKeyPath(List<String> keyPath)
The key path to the configuration value for which to subscribe. Specify a list where each entry is the key for a single level in the configuration object.
-
withKeyPath
public SubscribeToConfigurationUpdateRequest withKeyPath(List<String> keyPath)
The key path to the configuration value for which to subscribe. Specify a list where each entry is the key for a single level in the configuration 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
-
-