Class UpdateConfigurationTemplateRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.elasticbeanstalk.model.UpdateConfigurationTemplateRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class UpdateConfigurationTemplateRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The result message containing the options for the specified solution stack.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description UpdateConfigurationTemplateRequest()Default constructor for UpdateConfigurationTemplateRequest object.UpdateConfigurationTemplateRequest(String applicationName, String templateName)Constructs a new UpdateConfigurationTemplateRequest object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateConfigurationTemplateRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetApplicationName()The name of the application associated with the configuration template to update.StringgetDescription()A new description for the configuration.List<ConfigurationOptionSetting>getOptionSettings()A list of configuration option settings to update with the new specified option value.List<OptionSpecification>getOptionsToRemove()A list of configuration options to remove from the configuration set.StringgetTemplateName()The name of the configuration template to update.inthashCode()voidsetApplicationName(String applicationName)The name of the application associated with the configuration template to update.voidsetDescription(String description)A new description for the configuration.voidsetOptionSettings(Collection<ConfigurationOptionSetting> optionSettings)A list of configuration option settings to update with the new specified option value.voidsetOptionsToRemove(Collection<OptionSpecification> optionsToRemove)A list of configuration options to remove from the configuration set.voidsetTemplateName(String templateName)The name of the configuration template to update.StringtoString()Returns a string representation of this object; useful for testing and debugging.UpdateConfigurationTemplateRequestwithApplicationName(String applicationName)The name of the application associated with the configuration template to update.UpdateConfigurationTemplateRequestwithDescription(String description)A new description for the configuration.UpdateConfigurationTemplateRequestwithOptionSettings(ConfigurationOptionSetting... optionSettings)A list of configuration option settings to update with the new specified option value.UpdateConfigurationTemplateRequestwithOptionSettings(Collection<ConfigurationOptionSetting> optionSettings)A list of configuration option settings to update with the new specified option value.UpdateConfigurationTemplateRequestwithOptionsToRemove(OptionSpecification... optionsToRemove)A list of configuration options to remove from the configuration set.UpdateConfigurationTemplateRequestwithOptionsToRemove(Collection<OptionSpecification> optionsToRemove)A list of configuration options to remove from the configuration set.UpdateConfigurationTemplateRequestwithTemplateName(String templateName)The name of the configuration template to update.-
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
-
UpdateConfigurationTemplateRequest
public UpdateConfigurationTemplateRequest()
Default constructor for UpdateConfigurationTemplateRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it.
-
UpdateConfigurationTemplateRequest
public UpdateConfigurationTemplateRequest(String applicationName, String templateName)
Constructs a new UpdateConfigurationTemplateRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
applicationName- The name of the application associated with the configuration template to update.If no application is found with this name,
UpdateConfigurationTemplatereturns anInvalidParameterValueerror.templateName- The name of the configuration template to update.If no configuration template is found with this name,
UpdateConfigurationTemplatereturns anInvalidParameterValueerror.
-
-
Method Detail
-
setApplicationName
public void setApplicationName(String applicationName)
The name of the application associated with the configuration template to update.
If no application is found with this name,
UpdateConfigurationTemplatereturns anInvalidParameterValueerror.- Parameters:
applicationName- The name of the application associated with the configuration template to update.If no application is found with this name,
UpdateConfigurationTemplatereturns anInvalidParameterValueerror.
-
getApplicationName
public String getApplicationName()
The name of the application associated with the configuration template to update.
If no application is found with this name,
UpdateConfigurationTemplatereturns anInvalidParameterValueerror.- Returns:
- The name of the application associated with the configuration
template to update.
If no application is found with this name,
UpdateConfigurationTemplatereturns anInvalidParameterValueerror.
-
withApplicationName
public UpdateConfigurationTemplateRequest withApplicationName(String applicationName)
The name of the application associated with the configuration template to update.
If no application is found with this name,
UpdateConfigurationTemplatereturns anInvalidParameterValueerror.- Parameters:
applicationName- The name of the application associated with the configuration template to update.If no application is found with this name,
UpdateConfigurationTemplatereturns anInvalidParameterValueerror.- 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 update.
If no configuration template is found with this name,
UpdateConfigurationTemplatereturns anInvalidParameterValueerror.- Parameters:
templateName- The name of the configuration template to update.If no configuration template is found with this name,
UpdateConfigurationTemplatereturns anInvalidParameterValueerror.
-
getTemplateName
public String getTemplateName()
The name of the configuration template to update.
If no configuration template is found with this name,
UpdateConfigurationTemplatereturns anInvalidParameterValueerror.- Returns:
- The name of the configuration template to update.
If no configuration template is found with this name,
UpdateConfigurationTemplatereturns anInvalidParameterValueerror.
-
withTemplateName
public UpdateConfigurationTemplateRequest withTemplateName(String templateName)
The name of the configuration template to update.
If no configuration template is found with this name,
UpdateConfigurationTemplatereturns anInvalidParameterValueerror.- Parameters:
templateName- The name of the configuration template to update.If no configuration template is found with this name,
UpdateConfigurationTemplatereturns anInvalidParameterValueerror.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDescription
public void setDescription(String description)
A new description for the configuration.
- Parameters:
description- A new description for the configuration.
-
getDescription
public String getDescription()
A new description for the configuration.
- Returns:
- A new description for the configuration.
-
withDescription
public UpdateConfigurationTemplateRequest withDescription(String description)
A new description for the configuration.
- Parameters:
description- A new description for the configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getOptionSettings
public List<ConfigurationOptionSetting> getOptionSettings()
A list of configuration option settings to update with the new specified option value.
- Returns:
- A list of configuration option settings to update with the new specified option value.
-
setOptionSettings
public void setOptionSettings(Collection<ConfigurationOptionSetting> optionSettings)
A list of configuration option settings to update with the new specified option value.
- Parameters:
optionSettings- A list of configuration option settings to update with the new specified option value.
-
withOptionSettings
public UpdateConfigurationTemplateRequest withOptionSettings(ConfigurationOptionSetting... optionSettings)
A list of configuration option settings to update with the new specified option value.
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 configuration option settings to update with the new specified option value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withOptionSettings
public UpdateConfigurationTemplateRequest withOptionSettings(Collection<ConfigurationOptionSetting> optionSettings)
A list of configuration option settings to update with the new specified option value.
- Parameters:
optionSettings- A list of configuration option settings to update with the new specified option value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getOptionsToRemove
public List<OptionSpecification> getOptionsToRemove()
A list of configuration options to remove from the configuration set.
Constraint: You can remove only
UserDefinedconfiguration options.- Returns:
- A list of configuration options to remove from the configuration
set.
Constraint: You can remove only
UserDefinedconfiguration options.
-
setOptionsToRemove
public void setOptionsToRemove(Collection<OptionSpecification> optionsToRemove)
A list of configuration options to remove from the configuration set.
Constraint: You can remove only
UserDefinedconfiguration options.- Parameters:
optionsToRemove- A list of configuration options to remove from the configuration set.Constraint: You can remove only
UserDefinedconfiguration options.
-
withOptionsToRemove
public UpdateConfigurationTemplateRequest withOptionsToRemove(OptionSpecification... optionsToRemove)
A list of configuration options to remove from the configuration set.
Constraint: You can remove only
UserDefinedconfiguration options.NOTE: This method appends the values to the existing list (if any). Use
setOptionsToRemove(java.util.Collection)orwithOptionsToRemove(java.util.Collection)if you want to override the existing values.- Parameters:
optionsToRemove- A list of configuration options to remove from the configuration set.Constraint: You can remove only
UserDefinedconfiguration options.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withOptionsToRemove
public UpdateConfigurationTemplateRequest withOptionsToRemove(Collection<OptionSpecification> optionsToRemove)
A list of configuration options to remove from the configuration set.
Constraint: You can remove only
UserDefinedconfiguration options.- Parameters:
optionsToRemove- A list of configuration options to remove from the configuration set.Constraint: You can remove only
UserDefinedconfiguration options.- 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 UpdateConfigurationTemplateRequest 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()
-
-