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:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description ValidateConfigurationSettingsRequest()Default constructor for ValidateConfigurationSettingsRequest object.ValidateConfigurationSettingsRequest(String applicationName, List<ConfigurationOptionSetting> optionSettings)Constructs a new ValidateConfigurationSettingsRequest object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValidateConfigurationSettingsRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetApplicationName()The name of the application that the configuration template or environment belongs to.StringgetEnvironmentName()The name of the environment to validate the settings against.List<ConfigurationOptionSetting>getOptionSettings()A list of the options and desired values to evaluate.StringgetTemplateName()The name of the configuration template to validate the settings against.inthashCode()voidsetApplicationName(String applicationName)The name of the application that the configuration template or environment belongs to.voidsetEnvironmentName(String environmentName)The name of the environment to validate the settings against.voidsetOptionSettings(Collection<ConfigurationOptionSetting> optionSettings)A list of the options and desired values to evaluate.voidsetTemplateName(String templateName)The name of the configuration template to validate the settings against.StringtoString()Returns a string representation of this object; useful for testing and debugging.ValidateConfigurationSettingsRequestwithApplicationName(String applicationName)The name of the application that the configuration template or environment belongs to.ValidateConfigurationSettingsRequestwithEnvironmentName(String environmentName)The name of the environment to validate the settings against.ValidateConfigurationSettingsRequestwithOptionSettings(ConfigurationOptionSetting... optionSettings)A list of the options and desired values to evaluate.ValidateConfigurationSettingsRequestwithOptionSettings(Collection<ConfigurationOptionSetting> optionSettings)A list of the options and desired values to evaluate.ValidateConfigurationSettingsRequestwithTemplateName(String templateName)The name of the configuration template to validate the settings against.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Constructor Detail
-
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 Detail
-
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)orwithOptionSettings(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ValidateConfigurationSettingsRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-