Class ComposeEnvironmentsRequest

    • Constructor Detail

      • ComposeEnvironmentsRequest

        public ComposeEnvironmentsRequest()
    • Method Detail

      • setApplicationName

        public void setApplicationName​(String applicationName)

        The name of the application to which the specified source bundles belong.

        Parameters:
        applicationName - The name of the application to which the specified source bundles belong.
      • getApplicationName

        public String getApplicationName()

        The name of the application to which the specified source bundles belong.

        Returns:
        The name of the application to which the specified source bundles belong.
      • withApplicationName

        public ComposeEnvironmentsRequest withApplicationName​(String applicationName)

        The name of the application to which the specified source bundles belong.

        Parameters:
        applicationName - The name of the application to which the specified source bundles belong.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setGroupName

        public void setGroupName​(String groupName)

        The name of the group to which the target environments belong. Specify a group name only if the environment name defined in each target environment's manifest ends with a + (plus) character. See Environment Manifest (env.yaml) for details.

        Parameters:
        groupName - The name of the group to which the target environments belong. Specify a group name only if the environment name defined in each target environment's manifest ends with a + (plus) character. See Environment Manifest (env.yaml) for details.
      • getGroupName

        public String getGroupName()

        The name of the group to which the target environments belong. Specify a group name only if the environment name defined in each target environment's manifest ends with a + (plus) character. See Environment Manifest (env.yaml) for details.

        Returns:
        The name of the group to which the target environments belong. Specify a group name only if the environment name defined in each target environment's manifest ends with a + (plus) character. See Environment Manifest (env.yaml) for details.
      • withGroupName

        public ComposeEnvironmentsRequest withGroupName​(String groupName)

        The name of the group to which the target environments belong. Specify a group name only if the environment name defined in each target environment's manifest ends with a + (plus) character. See Environment Manifest (env.yaml) for details.

        Parameters:
        groupName - The name of the group to which the target environments belong. Specify a group name only if the environment name defined in each target environment's manifest ends with a + (plus) character. See Environment Manifest (env.yaml) for details.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getVersionLabels

        public List<String> getVersionLabels()

        A list of version labels, specifying one or more application source bundles that belong to the target application. Each source bundle must include an environment manifest that specifies the name of the environment and the name of the solution stack to use, and optionally can specify environment links to create.

        Returns:
        A list of version labels, specifying one or more application source bundles that belong to the target application. Each source bundle must include an environment manifest that specifies the name of the environment and the name of the solution stack to use, and optionally can specify environment links to create.
      • setVersionLabels

        public void setVersionLabels​(Collection<String> versionLabels)

        A list of version labels, specifying one or more application source bundles that belong to the target application. Each source bundle must include an environment manifest that specifies the name of the environment and the name of the solution stack to use, and optionally can specify environment links to create.

        Parameters:
        versionLabels - A list of version labels, specifying one or more application source bundles that belong to the target application. Each source bundle must include an environment manifest that specifies the name of the environment and the name of the solution stack to use, and optionally can specify environment links to create.
      • withVersionLabels

        public ComposeEnvironmentsRequest withVersionLabels​(String... versionLabels)

        A list of version labels, specifying one or more application source bundles that belong to the target application. Each source bundle must include an environment manifest that specifies the name of the environment and the name of the solution stack to use, and optionally can specify environment links to create.

        NOTE: This method appends the values to the existing list (if any). Use setVersionLabels(java.util.Collection) or withVersionLabels(java.util.Collection) if you want to override the existing values.

        Parameters:
        versionLabels - A list of version labels, specifying one or more application source bundles that belong to the target application. Each source bundle must include an environment manifest that specifies the name of the environment and the name of the solution stack to use, and optionally can specify environment links to create.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withVersionLabels

        public ComposeEnvironmentsRequest withVersionLabels​(Collection<String> versionLabels)

        A list of version labels, specifying one or more application source bundles that belong to the target application. Each source bundle must include an environment manifest that specifies the name of the environment and the name of the solution stack to use, and optionally can specify environment links to create.

        Parameters:
        versionLabels - A list of version labels, specifying one or more application source bundles that belong to the target application. Each source bundle must include an environment manifest that specifies the name of the environment and the name of the solution stack to use, and optionally can specify environment links to create.
        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