Class CreateLocalDeploymentRequest
- java.lang.Object
-
- software.amazon.awssdk.aws.greengrass.model.CreateLocalDeploymentRequest
-
- All Implemented Interfaces:
EventStreamJsonMessage
public class CreateLocalDeploymentRequest extends Object implements EventStreamJsonMessage
-
-
Field Summary
Fields Modifier and Type Field Description static String
APPLICATION_MODEL_TYPE
static CreateLocalDeploymentRequest
VOID
-
Constructor Summary
Constructors Constructor Description CreateLocalDeploymentRequest()
-
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
getArtifactsDirectoryPath()
All artifact files in this directory will be copied over to the Greengrass package store.Map<String,Map<String,Object>>
getComponentToConfiguration()
Map of component names to configuration.Map<String,RunWithInfo>
getComponentToRunWithInfo()
Map of component names to component run as info.FailureHandlingPolicy
getFailureHandlingPolicy()
String
getFailureHandlingPolicyAsString()
Deployment failure handling policy.String
getGroupName()
The thing group name the deployment is targeting.String
getRecipeDirectoryPath()
All recipes files in this directory will be copied over to the Greengrass package store.List<String>
getRootComponentsToRemove()
List of components that need to be removed from the group, for example if new artifacts were loaded in this request but recipe version did not change.Map<String,String>
getRootComponentVersionsToAdd()
Map of component name to version.int
hashCode()
void
setArtifactsDirectoryPath(String artifactsDirectoryPath)
All artifact files in this directory will be copied over to the Greengrass package store.void
setComponentToConfiguration(Map<String,Map<String,Object>> componentToConfiguration)
Map of component names to configuration.void
setComponentToRunWithInfo(Map<String,RunWithInfo> componentToRunWithInfo)
Map of component names to component run as info.void
setFailureHandlingPolicy(String failureHandlingPolicy)
Deployment failure handling policy.void
setFailureHandlingPolicy(FailureHandlingPolicy failureHandlingPolicy)
Deployment failure handling policy.void
setGroupName(String groupName)
The thing group name the deployment is targeting.void
setRecipeDirectoryPath(String recipeDirectoryPath)
All recipes files in this directory will be copied over to the Greengrass package store.void
setRootComponentsToRemove(List<String> rootComponentsToRemove)
List of components that need to be removed from the group, for example if new artifacts were loaded in this request but recipe version did not change.void
setRootComponentVersionsToAdd(Map<String,String> rootComponentVersionsToAdd)
Map of component name to version.CreateLocalDeploymentRequest
withArtifactsDirectoryPath(String artifactsDirectoryPath)
All artifact files in this directory will be copied over to the Greengrass package store.CreateLocalDeploymentRequest
withComponentToConfiguration(Map<String,Map<String,Object>> componentToConfiguration)
Map of component names to configuration.CreateLocalDeploymentRequest
withComponentToRunWithInfo(Map<String,RunWithInfo> componentToRunWithInfo)
Map of component names to component run as info.CreateLocalDeploymentRequest
withFailureHandlingPolicy(String failureHandlingPolicy)
Deployment failure handling policy.CreateLocalDeploymentRequest
withFailureHandlingPolicy(FailureHandlingPolicy failureHandlingPolicy)
Deployment failure handling policy.CreateLocalDeploymentRequest
withGroupName(String groupName)
The thing group name the deployment is targeting.CreateLocalDeploymentRequest
withRecipeDirectoryPath(String recipeDirectoryPath)
All recipes files in this directory will be copied over to the Greengrass package store.CreateLocalDeploymentRequest
withRootComponentsToRemove(List<String> rootComponentsToRemove)
List of components that need to be removed from the group, for example if new artifacts were loaded in this request but recipe version did not change.CreateLocalDeploymentRequest
withRootComponentVersionsToAdd(Map<String,String> rootComponentVersionsToAdd)
Map of component name to version.-
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 CreateLocalDeploymentRequest VOID
-
-
Method Detail
-
getGroupName
public String getGroupName()
The thing group name the deployment is targeting. If the group name is not specified, "LOCAL_DEPLOYMENT" will be used.
-
setGroupName
public void setGroupName(String groupName)
The thing group name the deployment is targeting. If the group name is not specified, "LOCAL_DEPLOYMENT" will be used.
-
withGroupName
public CreateLocalDeploymentRequest withGroupName(String groupName)
The thing group name the deployment is targeting. If the group name is not specified, "LOCAL_DEPLOYMENT" will be used.
-
getRootComponentVersionsToAdd
public Map<String,String> getRootComponentVersionsToAdd()
Map of component name to version. Components will be added to the group's existing root components.
-
setRootComponentVersionsToAdd
public void setRootComponentVersionsToAdd(Map<String,String> rootComponentVersionsToAdd)
Map of component name to version. Components will be added to the group's existing root components.
-
withRootComponentVersionsToAdd
public CreateLocalDeploymentRequest withRootComponentVersionsToAdd(Map<String,String> rootComponentVersionsToAdd)
Map of component name to version. Components will be added to the group's existing root components.
-
getRootComponentsToRemove
public List<String> getRootComponentsToRemove()
List of components that need to be removed from the group, for example if new artifacts were loaded in this request but recipe version did not change.
-
setRootComponentsToRemove
public void setRootComponentsToRemove(List<String> rootComponentsToRemove)
List of components that need to be removed from the group, for example if new artifacts were loaded in this request but recipe version did not change.
-
withRootComponentsToRemove
public CreateLocalDeploymentRequest withRootComponentsToRemove(List<String> rootComponentsToRemove)
List of components that need to be removed from the group, for example if new artifacts were loaded in this request but recipe version did not change.
-
getComponentToConfiguration
public Map<String,Map<String,Object>> getComponentToConfiguration()
Map of component names to configuration.
-
setComponentToConfiguration
public void setComponentToConfiguration(Map<String,Map<String,Object>> componentToConfiguration)
Map of component names to configuration.
-
withComponentToConfiguration
public CreateLocalDeploymentRequest withComponentToConfiguration(Map<String,Map<String,Object>> componentToConfiguration)
Map of component names to configuration.
-
getComponentToRunWithInfo
public Map<String,RunWithInfo> getComponentToRunWithInfo()
Map of component names to component run as info.
-
setComponentToRunWithInfo
public void setComponentToRunWithInfo(Map<String,RunWithInfo> componentToRunWithInfo)
Map of component names to component run as info.
-
withComponentToRunWithInfo
public CreateLocalDeploymentRequest withComponentToRunWithInfo(Map<String,RunWithInfo> componentToRunWithInfo)
Map of component names to component run as info.
-
getRecipeDirectoryPath
public String getRecipeDirectoryPath()
All recipes files in this directory will be copied over to the Greengrass package store.
-
setRecipeDirectoryPath
public void setRecipeDirectoryPath(String recipeDirectoryPath)
All recipes files in this directory will be copied over to the Greengrass package store.
-
withRecipeDirectoryPath
public CreateLocalDeploymentRequest withRecipeDirectoryPath(String recipeDirectoryPath)
All recipes files in this directory will be copied over to the Greengrass package store.
-
getArtifactsDirectoryPath
public String getArtifactsDirectoryPath()
All artifact files in this directory will be copied over to the Greengrass package store.
-
setArtifactsDirectoryPath
public void setArtifactsDirectoryPath(String artifactsDirectoryPath)
All artifact files in this directory will be copied over to the Greengrass package store.
-
withArtifactsDirectoryPath
public CreateLocalDeploymentRequest withArtifactsDirectoryPath(String artifactsDirectoryPath)
All artifact files in this directory will be copied over to the Greengrass package store.
-
getFailureHandlingPolicy
public FailureHandlingPolicy getFailureHandlingPolicy()
-
getFailureHandlingPolicyAsString
public String getFailureHandlingPolicyAsString()
Deployment failure handling policy.
-
setFailureHandlingPolicy
public void setFailureHandlingPolicy(String failureHandlingPolicy)
Deployment failure handling policy.
-
withFailureHandlingPolicy
public CreateLocalDeploymentRequest withFailureHandlingPolicy(String failureHandlingPolicy)
Deployment failure handling policy.
-
setFailureHandlingPolicy
public void setFailureHandlingPolicy(FailureHandlingPolicy failureHandlingPolicy)
Deployment failure handling policy.
-
withFailureHandlingPolicy
public CreateLocalDeploymentRequest withFailureHandlingPolicy(FailureHandlingPolicy failureHandlingPolicy)
Deployment failure handling policy.
-
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
-
-