public class ValidateConfigurationSettingsRequest extends AmazonWebServiceRequest implements Serializable
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.
NOOP
Constructor and Description |
---|
ValidateConfigurationSettingsRequest()
Default constructor for a new ValidateConfigurationSettingsRequest object.
|
ValidateConfigurationSettingsRequest(String applicationName,
List<ConfigurationOptionSetting> optionSettings)
Constructs a new ValidateConfigurationSettingsRequest object.
|
Modifier and Type | Method and Description |
---|---|
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.
|
copyPrivateRequestParameters, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public ValidateConfigurationSettingsRequest()
public ValidateConfigurationSettingsRequest(String applicationName, List<ConfigurationOptionSetting> optionSettings)
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.public String getApplicationName()
Constraints:
Length: 1 - 100
public void setApplicationName(String applicationName)
Constraints:
Length: 1 - 100
applicationName
- The name of the application that the configuration template or
environment belongs to.public ValidateConfigurationSettingsRequest withApplicationName(String applicationName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
applicationName
- The name of the application that the configuration template or
environment belongs to.public String getTemplateName()
Condition: You cannot specify both this and an environment name.
Constraints:
Length: 1 - 100
Condition: You cannot specify both this and an environment name.
public void setTemplateName(String templateName)
Condition: You cannot specify both this and an environment name.
Constraints:
Length: 1 - 100
templateName
- The name of the configuration template to validate the settings
against. Condition: You cannot specify both this and an environment name.
public ValidateConfigurationSettingsRequest withTemplateName(String templateName)
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
templateName
- The name of the configuration template to validate the settings
against. Condition: You cannot specify both this and an environment name.
public String getEnvironmentName()
Condition: You cannot specify both this and a configuration template name.
Constraints:
Length: 4 - 23
Condition: You cannot specify both this and a configuration template name.
public void setEnvironmentName(String environmentName)
Condition: You cannot specify both this and a configuration template name.
Constraints:
Length: 4 - 23
environmentName
- The name of the environment to validate the settings against. Condition: You cannot specify both this and a configuration template name.
public ValidateConfigurationSettingsRequest withEnvironmentName(String environmentName)
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
environmentName
- The name of the environment to validate the settings against. Condition: You cannot specify both this and a configuration template name.
public List<ConfigurationOptionSetting> getOptionSettings()
public void setOptionSettings(Collection<ConfigurationOptionSetting> optionSettings)
optionSettings
- A list of the options and desired values to evaluate.public ValidateConfigurationSettingsRequest withOptionSettings(ConfigurationOptionSetting... optionSettings)
Returns a reference to this object so that method calls can be chained together.
optionSettings
- A list of the options and desired values to evaluate.public ValidateConfigurationSettingsRequest withOptionSettings(Collection<ConfigurationOptionSetting> optionSettings)
Returns a reference to this object so that method calls can be chained together.
optionSettings
- A list of the options and desired values to evaluate.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.