Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.elasticbeanstalk.model
Class ValidateConfigurationSettingsRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.elasticbeanstalk.model.ValidateConfigurationSettingsRequest

public class ValidateConfigurationSettingsRequest
extends AmazonWebServiceRequest

Container for the parameters to the ValidateConfigurationSettings operation.

Takes a set of configuration settings and either a configuration template or environment, and determines whether those values are valid.

This action returns a list of messages indicating any errors or warnings associated with the selection of option values.

See Also:
AWSElasticBeanstalk.validateConfigurationSettings(ValidateConfigurationSettingsRequest)

Constructor Summary
ValidateConfigurationSettingsRequest()
          Default constructor for a new ValidateConfigurationSettingsRequest object.
ValidateConfigurationSettingsRequest(String applicationName, List<ConfigurationOptionSetting> optionSettings)
          Constructs a new ValidateConfigurationSettingsRequest object.
 
Method Summary
 boolean equals(Object obj)
           
 String getApplicationName()
          The name of the application that the configuration template or environment belongs to.
 String getEnvironmentName()
          The name of the environment to validate the settings against.
 List<ConfigurationOptionSetting> getOptionSettings()
          A list of the options and desired values to evaluate.
 String getTemplateName()
          The name of the configuration template to validate the settings against.
 int hashCode()
           
 void setApplicationName(String applicationName)
          The name of the application that the configuration template or environment belongs to.
 void setEnvironmentName(String environmentName)
          The name of the environment to validate the settings against.
 void setOptionSettings(Collection<ConfigurationOptionSetting> optionSettings)
          A list of the options and desired values to evaluate.
 void setTemplateName(String templateName)
          The name of the configuration template to validate the settings against.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ValidateConfigurationSettingsRequest withApplicationName(String applicationName)
          The name of the application that the configuration template or environment belongs to.
 ValidateConfigurationSettingsRequest withEnvironmentName(String environmentName)
          The name of the environment to validate the settings against.
 ValidateConfigurationSettingsRequest withOptionSettings(Collection<ConfigurationOptionSetting> optionSettings)
          A list of the options and desired values to evaluate.
 ValidateConfigurationSettingsRequest withOptionSettings(ConfigurationOptionSetting... optionSettings)
          A list of the options and desired values to evaluate.
 ValidateConfigurationSettingsRequest withTemplateName(String templateName)
          The name of the configuration template to validate the settings against.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ValidateConfigurationSettingsRequest

public ValidateConfigurationSettingsRequest()
Default constructor for a new ValidateConfigurationSettingsRequest object. Callers should use the setter or fluent setter (with...) methods to initialize this 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 Detail

getApplicationName

public String getApplicationName()
The name of the application that the configuration template or environment belongs to.

Constraints:
Length: 1 - 100

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

setApplicationName

public void setApplicationName(String applicationName)
The name of the application that the configuration template or environment belongs to.

Constraints:
Length: 1 - 100

Parameters:
applicationName - 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.

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

Constraints:
Length: 1 - 100

Parameters:
applicationName - The name of the application that the configuration template or environment belongs to.
Returns:
A reference to this updated object so that method calls can be chained together.

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.

Constraints:
Length: 1 - 100

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

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


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.

Constraints:
Length: 1 - 100

Parameters:
templateName - 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.

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

Constraints:
Length: 1 - 100

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

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

Returns:
A reference to this updated object so that method calls can be chained together.

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.

Constraints:
Length: 4 - 23

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

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


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.

Constraints:
Length: 4 - 23

Parameters:
environmentName - 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.

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

Constraints:
Length: 4 - 23

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

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

Returns:
A reference to this updated 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.

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

Parameters:
optionSettings - A list of the options and desired values to evaluate.
Returns:
A reference to this updated 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.

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

Parameters:
optionSettings - A list of the options and desired values to evaluate.
Returns:
A reference to this updated 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

equals

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


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.