Class UpdateConfigurationTemplateRequest

    • Constructor Detail

      • UpdateConfigurationTemplateRequest

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

        public UpdateConfigurationTemplateRequest​(String applicationName,
                                                  String templateName)
        Constructs a new UpdateConfigurationTemplateRequest 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 the configuration template to update.

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

        templateName - The name of the configuration template to update.

        If no configuration template is found with this name, UpdateConfigurationTemplate returns an InvalidParameterValue error.

    • Method Detail

      • setApplicationName

        public void setApplicationName​(String applicationName)

        The name of the application associated with the configuration template to update.

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

        Parameters:
        applicationName - The name of the application associated with the configuration template to update.

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

      • getApplicationName

        public String getApplicationName()

        The name of the application associated with the configuration template to update.

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

        Returns:
        The name of the application associated with the configuration template to update.

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

      • withApplicationName

        public UpdateConfigurationTemplateRequest withApplicationName​(String applicationName)

        The name of the application associated with the configuration template to update.

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

        Parameters:
        applicationName - The name of the application associated with the configuration template to update.

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

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

        public void setTemplateName​(String templateName)

        The name of the configuration template to update.

        If no configuration template is found with this name, UpdateConfigurationTemplate returns an InvalidParameterValue error.

        Parameters:
        templateName - The name of the configuration template to update.

        If no configuration template is found with this name, UpdateConfigurationTemplate returns an InvalidParameterValue error.

      • getTemplateName

        public String getTemplateName()

        The name of the configuration template to update.

        If no configuration template is found with this name, UpdateConfigurationTemplate returns an InvalidParameterValue error.

        Returns:
        The name of the configuration template to update.

        If no configuration template is found with this name, UpdateConfigurationTemplate returns an InvalidParameterValue error.

      • withTemplateName

        public UpdateConfigurationTemplateRequest withTemplateName​(String templateName)

        The name of the configuration template to update.

        If no configuration template is found with this name, UpdateConfigurationTemplate returns an InvalidParameterValue error.

        Parameters:
        templateName - The name of the configuration template to update.

        If no configuration template is found with this name, UpdateConfigurationTemplate 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 the configuration.

        Parameters:
        description - A new description for the configuration.
      • getDescription

        public String getDescription()

        A new description for the configuration.

        Returns:
        A new description for the configuration.
      • withDescription

        public UpdateConfigurationTemplateRequest withDescription​(String description)

        A new description for the configuration.

        Parameters:
        description - A new description for the configuration.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getOptionSettings

        public List<ConfigurationOptionSetting> getOptionSettings()

        A list of configuration option settings to update with the new specified option value.

        Returns:
        A list of configuration option settings to update with the new specified option value.
      • setOptionSettings

        public void setOptionSettings​(Collection<ConfigurationOptionSetting> optionSettings)

        A list of configuration option settings to update with the new specified option value.

        Parameters:
        optionSettings - A list of configuration option settings to update with the new specified option value.
      • withOptionSettings

        public UpdateConfigurationTemplateRequest withOptionSettings​(Collection<ConfigurationOptionSetting> optionSettings)

        A list of configuration option settings to update with the new specified option value.

        Parameters:
        optionSettings - A list of configuration option settings to update with the new specified option value.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getOptionsToRemove

        public List<OptionSpecification> getOptionsToRemove()

        A list of configuration options to remove from the configuration set.

        Constraint: You can remove only UserDefined configuration options.

        Returns:
        A list of configuration options to remove from the configuration set.

        Constraint: You can remove only UserDefined configuration options.

      • setOptionsToRemove

        public void setOptionsToRemove​(Collection<OptionSpecification> optionsToRemove)

        A list of configuration options to remove from the configuration set.

        Constraint: You can remove only UserDefined configuration options.

        Parameters:
        optionsToRemove - A list of configuration options to remove from the configuration set.

        Constraint: You can remove only UserDefined configuration options.

      • withOptionsToRemove

        public UpdateConfigurationTemplateRequest withOptionsToRemove​(OptionSpecification... optionsToRemove)

        A list of configuration options to remove from the configuration set.

        Constraint: You can remove only UserDefined configuration options.

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

        Parameters:
        optionsToRemove - A list of configuration options to remove from the configuration set.

        Constraint: You can remove only UserDefined configuration options.

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

        public UpdateConfigurationTemplateRequest withOptionsToRemove​(Collection<OptionSpecification> optionsToRemove)

        A list of configuration options to remove from the configuration set.

        Constraint: You can remove only UserDefined configuration options.

        Parameters:
        optionsToRemove - A list of configuration options to remove from the configuration set.

        Constraint: You can remove only UserDefined configuration options.

        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