Class CreateLocalDeploymentRequest

java.lang.Object
software.amazon.awssdk.aws.greengrass.model.CreateLocalDeploymentRequest
All Implemented Interfaces:
EventStreamJsonMessage

public class CreateLocalDeploymentRequest extends Object implements EventStreamJsonMessage
  • Field Details

  • Constructor Details

    • CreateLocalDeploymentRequest

      public CreateLocalDeploymentRequest()
  • Method Details

    • 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 interface EventStreamJsonMessage
      Returns:
      the named model type
    • equals

      public boolean equals(Object rhs)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object