Class ValidateConfigurationSettingsRequest

java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.elasticbeanstalk.model.ValidateConfigurationSettingsRequest
All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable

public class ValidateConfigurationSettingsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable

A list of validation messages for a specified configuration template.

See Also:
  • Constructor Details

    • ValidateConfigurationSettingsRequest

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

      public ValidateConfigurationSettingsRequest(String applicationName, List<ConfigurationOptionSetting> optionSettings)
      Constructs a new ValidateConfigurationSettingsRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      Parameters:
      applicationName - The name of the application that the configuration template or environment belongs to.
      optionSettings - A list of the options and desired values to evaluate.
  • Method Details

    • setApplicationName

      public void setApplicationName(String applicationName)

      The name of the application that the configuration template or environment belongs to.

      Parameters:
      applicationName - The name of the application that the configuration template or environment belongs to.
    • getApplicationName

      public String getApplicationName()

      The name of the application that the configuration template or environment belongs to.

      Returns:
      The name of the application that the configuration template or environment belongs to.
    • withApplicationName

      public ValidateConfigurationSettingsRequest withApplicationName(String applicationName)

      The name of the application that the configuration template or environment belongs to.

      Parameters:
      applicationName - The name of the application that the configuration template or environment belongs to.
      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 validate the settings against.

      Condition: You cannot specify both this and an environment name.

      Parameters:
      templateName - The name of the configuration template to validate the settings against.

      Condition: You cannot specify both this and an environment name.

    • getTemplateName

      public String getTemplateName()

      The name of the configuration template to validate the settings against.

      Condition: You cannot specify both this and an environment name.

      Returns:
      The name of the configuration template to validate the settings against.

      Condition: You cannot specify both this and an environment name.

    • withTemplateName

      public ValidateConfigurationSettingsRequest withTemplateName(String templateName)

      The name of the configuration template to validate the settings against.

      Condition: You cannot specify both this and an environment name.

      Parameters:
      templateName - The name of the configuration template to validate the settings against.

      Condition: You cannot specify both this and an environment name.

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

      public void setEnvironmentName(String environmentName)

      The name of the environment to validate the settings against.

      Condition: You cannot specify both this and a configuration template name.

      Parameters:
      environmentName - The name of the environment to validate the settings against.

      Condition: You cannot specify both this and a configuration template name.

    • getEnvironmentName

      public String getEnvironmentName()

      The name of the environment to validate the settings against.

      Condition: You cannot specify both this and a configuration template name.

      Returns:
      The name of the environment to validate the settings against.

      Condition: You cannot specify both this and a configuration template name.

    • withEnvironmentName

      public ValidateConfigurationSettingsRequest withEnvironmentName(String environmentName)

      The name of the environment to validate the settings against.

      Condition: You cannot specify both this and a configuration template name.

      Parameters:
      environmentName - The name of the environment to validate the settings against.

      Condition: You cannot specify both this and a configuration template name.

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

      public List<ConfigurationOptionSetting> getOptionSettings()

      A list of the options and desired values to evaluate.

      Returns:
      A list of the options and desired values to evaluate.
    • setOptionSettings

      public void setOptionSettings(Collection<ConfigurationOptionSetting> optionSettings)

      A list of the options and desired values to evaluate.

      Parameters:
      optionSettings - A list of the options and desired values to evaluate.
    • withOptionSettings

      public ValidateConfigurationSettingsRequest withOptionSettings(ConfigurationOptionSetting... optionSettings)

      A list of the options and desired values to evaluate.

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

      Parameters:
      optionSettings - A list of the options and desired values to evaluate.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withOptionSettings

      public ValidateConfigurationSettingsRequest withOptionSettings(Collection<ConfigurationOptionSetting> optionSettings)

      A list of the options and desired values to evaluate.

      Parameters:
      optionSettings - A list of the options and desired values to evaluate.
      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:
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Description copied from class: AmazonWebServiceRequest
      Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.
      Overrides:
      clone in class AmazonWebServiceRequest
      See Also: