Class CreateDeploymentRequest

    • Constructor Detail

      • CreateDeploymentRequest

        public CreateDeploymentRequest()
    • Method Detail

      • setStackId

        public void setStackId​(String stackId)

        The stack ID.

        Parameters:
        stackId - The stack ID.
      • getStackId

        public String getStackId()

        The stack ID.

        Returns:
        The stack ID.
      • withStackId

        public CreateDeploymentRequest withStackId​(String stackId)

        The stack ID.

        Parameters:
        stackId - The stack ID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setAppId

        public void setAppId​(String appId)

        The app ID. This parameter is required for app deployments, but not for other deployment commands.

        Parameters:
        appId - The app ID. This parameter is required for app deployments, but not for other deployment commands.
      • getAppId

        public String getAppId()

        The app ID. This parameter is required for app deployments, but not for other deployment commands.

        Returns:
        The app ID. This parameter is required for app deployments, but not for other deployment commands.
      • withAppId

        public CreateDeploymentRequest withAppId​(String appId)

        The app ID. This parameter is required for app deployments, but not for other deployment commands.

        Parameters:
        appId - The app ID. This parameter is required for app deployments, but not for other deployment commands.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getInstanceIds

        public List<String> getInstanceIds()

        The instance IDs for the deployment targets.

        Returns:
        The instance IDs for the deployment targets.
      • setInstanceIds

        public void setInstanceIds​(Collection<String> instanceIds)

        The instance IDs for the deployment targets.

        Parameters:
        instanceIds - The instance IDs for the deployment targets.
      • withInstanceIds

        public CreateDeploymentRequest withInstanceIds​(Collection<String> instanceIds)

        The instance IDs for the deployment targets.

        Parameters:
        instanceIds - The instance IDs for the deployment targets.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getLayerIds

        public List<String> getLayerIds()

        The layer IDs for the deployment targets.

        Returns:
        The layer IDs for the deployment targets.
      • setLayerIds

        public void setLayerIds​(Collection<String> layerIds)

        The layer IDs for the deployment targets.

        Parameters:
        layerIds - The layer IDs for the deployment targets.
      • withLayerIds

        public CreateDeploymentRequest withLayerIds​(Collection<String> layerIds)

        The layer IDs for the deployment targets.

        Parameters:
        layerIds - The layer IDs for the deployment targets.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setCommand

        public void setCommand​(DeploymentCommand command)

        A DeploymentCommand object that specifies the deployment command and any associated arguments.

        Parameters:
        command - A DeploymentCommand object that specifies the deployment command and any associated arguments.
      • getCommand

        public DeploymentCommand getCommand()

        A DeploymentCommand object that specifies the deployment command and any associated arguments.

        Returns:
        A DeploymentCommand object that specifies the deployment command and any associated arguments.
      • withCommand

        public CreateDeploymentRequest withCommand​(DeploymentCommand command)

        A DeploymentCommand object that specifies the deployment command and any associated arguments.

        Parameters:
        command - A DeploymentCommand object that specifies the deployment command and any associated arguments.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setComment

        public void setComment​(String comment)

        A user-defined comment.

        Parameters:
        comment - A user-defined comment.
      • getComment

        public String getComment()

        A user-defined comment.

        Returns:
        A user-defined comment.
      • withComment

        public CreateDeploymentRequest withComment​(String comment)

        A user-defined comment.

        Parameters:
        comment - A user-defined comment.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setCustomJson

        public void setCustomJson​(String customJson)

        A string that contains user-defined, custom JSON. It is used to override the corresponding default stack configuration JSON values. The string should be in the following format and must escape characters such as '"':

        "{\"key1\": \"value1\", \"key2\": \"value2\",...}"

        For more information on custom JSON, see Use Custom JSON to Modify the Stack Configuration Attributes.

        Parameters:
        customJson - A string that contains user-defined, custom JSON. It is used to override the corresponding default stack configuration JSON values. The string should be in the following format and must escape characters such as '"':

        "{\"key1\": \"value1\", \"key2\": \"value2\",...}"

        For more information on custom JSON, see Use Custom JSON to Modify the Stack Configuration Attributes.

      • getCustomJson

        public String getCustomJson()

        A string that contains user-defined, custom JSON. It is used to override the corresponding default stack configuration JSON values. The string should be in the following format and must escape characters such as '"':

        "{\"key1\": \"value1\", \"key2\": \"value2\",...}"

        For more information on custom JSON, see Use Custom JSON to Modify the Stack Configuration Attributes.

        Returns:
        A string that contains user-defined, custom JSON. It is used to override the corresponding default stack configuration JSON values. The string should be in the following format and must escape characters such as '"':

        "{\"key1\": \"value1\", \"key2\": \"value2\",...}"

        For more information on custom JSON, see Use Custom JSON to Modify the Stack Configuration Attributes.

      • withCustomJson

        public CreateDeploymentRequest withCustomJson​(String customJson)

        A string that contains user-defined, custom JSON. It is used to override the corresponding default stack configuration JSON values. The string should be in the following format and must escape characters such as '"':

        "{\"key1\": \"value1\", \"key2\": \"value2\",...}"

        For more information on custom JSON, see Use Custom JSON to Modify the Stack Configuration Attributes.

        Parameters:
        customJson - A string that contains user-defined, custom JSON. It is used to override the corresponding default stack configuration JSON values. The string should be in the following format and must escape characters such as '"':

        "{\"key1\": \"value1\", \"key2\": \"value2\",...}"

        For more information on custom JSON, see Use Custom JSON to Modify the Stack Configuration Attributes.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object