Class CreateLocalDeploymentRequest

    • Constructor Detail

      • CreateLocalDeploymentRequest

        public CreateLocalDeploymentRequest()
    • 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.
      • 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.
      • 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.
      • getFailureHandlingPolicyAsString

        public String getFailureHandlingPolicyAsString()
        Deployment failure handling policy.
      • setFailureHandlingPolicy

        public void setFailureHandlingPolicy​(String failureHandlingPolicy)
        Deployment failure handling policy.
      • setFailureHandlingPolicy

        public void setFailureHandlingPolicy​(FailureHandlingPolicy failureHandlingPolicy)
        Deployment failure handling policy.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object