public class ValidateConfigurationSettingsRequest extends AmazonWebServiceRequest implements java.io.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.
| コンストラクタと説明 |
|---|
ValidateConfigurationSettingsRequest()
Default constructor for a new ValidateConfigurationSettingsRequest object.
|
ValidateConfigurationSettingsRequest(java.lang.String applicationName,
java.util.List<ConfigurationOptionSetting> optionSettings)
Constructs a new ValidateConfigurationSettingsRequest object.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getApplicationName()
The name of the application that the configuration template or
environment belongs to.
|
java.lang.String |
getEnvironmentName()
The name of the environment to validate the settings against.
|
java.util.List<ConfigurationOptionSetting> |
getOptionSettings()
A list of the options and desired values to evaluate.
|
java.lang.String |
getTemplateName()
The name of the configuration template to validate the settings
against.
|
int |
hashCode() |
void |
setApplicationName(java.lang.String applicationName)
The name of the application that the configuration template or
environment belongs to.
|
void |
setEnvironmentName(java.lang.String environmentName)
The name of the environment to validate the settings against.
|
void |
setOptionSettings(java.util.Collection<ConfigurationOptionSetting> optionSettings)
A list of the options and desired values to evaluate.
|
void |
setTemplateName(java.lang.String templateName)
The name of the configuration template to validate the settings
against.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ValidateConfigurationSettingsRequest |
withApplicationName(java.lang.String applicationName)
The name of the application that the configuration template or
environment belongs to.
|
ValidateConfigurationSettingsRequest |
withEnvironmentName(java.lang.String environmentName)
The name of the environment to validate the settings against.
|
ValidateConfigurationSettingsRequest |
withOptionSettings(java.util.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(java.lang.String templateName)
The name of the configuration template to validate the settings
against.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic ValidateConfigurationSettingsRequest()
public ValidateConfigurationSettingsRequest(java.lang.String applicationName,
java.util.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 java.lang.String getApplicationName()
Constraints:
Length: 1 - 100
public void setApplicationName(java.lang.String applicationName)
Constraints:
Length: 1 - 100
applicationName - The name of the application that the configuration template or
environment belongs to.public ValidateConfigurationSettingsRequest withApplicationName(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.util.List<ConfigurationOptionSetting> getOptionSettings()
public void setOptionSettings(java.util.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(java.util.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 java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object