Class UpdateApplicationVersionRequest

    • Constructor Detail

      • UpdateApplicationVersionRequest

        public UpdateApplicationVersionRequest()
        Default constructor for UpdateApplicationVersionRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it.
      • UpdateApplicationVersionRequest

        public UpdateApplicationVersionRequest​(String applicationName,
                                               String versionLabel)
        Constructs a new UpdateApplicationVersionRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
        Parameters:
        applicationName - The name of the application associated with this version.

        If no application is found with this name, UpdateApplication returns an InvalidParameterValue error.

        versionLabel - The name of the version to update.

        If no application version is found with this label, UpdateApplication returns an InvalidParameterValue error.

    • Method Detail

      • setApplicationName

        public void setApplicationName​(String applicationName)

        The name of the application associated with this version.

        If no application is found with this name, UpdateApplication returns an InvalidParameterValue error.

        Parameters:
        applicationName - The name of the application associated with this version.

        If no application is found with this name, UpdateApplication returns an InvalidParameterValue error.

      • getApplicationName

        public String getApplicationName()

        The name of the application associated with this version.

        If no application is found with this name, UpdateApplication returns an InvalidParameterValue error.

        Returns:
        The name of the application associated with this version.

        If no application is found with this name, UpdateApplication returns an InvalidParameterValue error.

      • withApplicationName

        public UpdateApplicationVersionRequest withApplicationName​(String applicationName)

        The name of the application associated with this version.

        If no application is found with this name, UpdateApplication returns an InvalidParameterValue error.

        Parameters:
        applicationName - The name of the application associated with this version.

        If no application is found with this name, UpdateApplication returns an InvalidParameterValue error.

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

        public void setVersionLabel​(String versionLabel)

        The name of the version to update.

        If no application version is found with this label, UpdateApplication returns an InvalidParameterValue error.

        Parameters:
        versionLabel - The name of the version to update.

        If no application version is found with this label, UpdateApplication returns an InvalidParameterValue error.

      • getVersionLabel

        public String getVersionLabel()

        The name of the version to update.

        If no application version is found with this label, UpdateApplication returns an InvalidParameterValue error.

        Returns:
        The name of the version to update.

        If no application version is found with this label, UpdateApplication returns an InvalidParameterValue error.

      • withVersionLabel

        public UpdateApplicationVersionRequest withVersionLabel​(String versionLabel)

        The name of the version to update.

        If no application version is found with this label, UpdateApplication returns an InvalidParameterValue error.

        Parameters:
        versionLabel - The name of the version to update.

        If no application version is found with this label, UpdateApplication returns an InvalidParameterValue error.

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

        public void setDescription​(String description)

        A new description for this release.

        Parameters:
        description - A new description for this release.
      • getDescription

        public String getDescription()

        A new description for this release.

        Returns:
        A new description for this release.
      • withDescription

        public UpdateApplicationVersionRequest withDescription​(String description)

        A new description for this release.

        Parameters:
        description - A new description for this release.
        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