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 UpdateConfigurationTemplateRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getApplicationName()
The name of the application associated with the configuration template to update.String
getDescription()
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.String
getTemplateName()
The name of the configuration template to update.int
hashCode()
void
setApplicationName(String applicationName)
The name of the application associated with the configuration template to update.void
setDescription(String description)
A new description for the configuration.void
setOptionSettings(Collection<ConfigurationOptionSetting> optionSettings)
A list of configuration option settings to update with the new specified option value.void
setOptionsToRemove(Collection<OptionSpecification> optionsToRemove)
A list of configuration options to remove from the configuration set.void
setTemplateName(String templateName)
The name of the configuration template to update.String
toString()
Returns a string representation of this object; useful for testing and debugging.UpdateConfigurationTemplateRequest
withApplicationName(String applicationName)
The name of the application associated with the configuration template to update.UpdateConfigurationTemplateRequest
withDescription(String description)
A new description for the configuration.UpdateConfigurationTemplateRequest
withOptionSettings(ConfigurationOptionSetting... optionSettings)
A list of configuration option settings to update with the new specified option value.UpdateConfigurationTemplateRequest
withOptionSettings(Collection<ConfigurationOptionSetting> optionSettings)
A list of configuration option settings to update with the new specified option value.UpdateConfigurationTemplateRequest
withOptionsToRemove(OptionSpecification... optionsToRemove)
A list of configuration options to remove from the configuration set.UpdateConfigurationTemplateRequest
withOptionsToRemove(Collection<OptionSpecification> optionsToRemove)
A list of configuration options to remove from the configuration set.UpdateConfigurationTemplateRequest
withTemplateName(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,
UpdateConfigurationTemplate
returns anInvalidParameterValue
error.templateName
- The name of the configuration template to update.If no configuration template is found with this name,
UpdateConfigurationTemplate
returns anInvalidParameterValue
error.
-
-
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,
UpdateConfigurationTemplate
returns anInvalidParameterValue
error.- Parameters:
applicationName
- The name of the application associated with the configuration template to update.If no application is found with this name,
UpdateConfigurationTemplate
returns anInvalidParameterValue
error.
-
getApplicationName
public String getApplicationName()
The name of the application associated with the configuration template to update.
If no application is found with this name,
UpdateConfigurationTemplate
returns anInvalidParameterValue
error.- Returns:
- The name of the application associated with the configuration
template to update.
If no application is found with this name,
UpdateConfigurationTemplate
returns anInvalidParameterValue
error.
-
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,
UpdateConfigurationTemplate
returns anInvalidParameterValue
error.- Parameters:
applicationName
- The name of the application associated with the configuration template to update.If no application is found with this name,
UpdateConfigurationTemplate
returns anInvalidParameterValue
error.- 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,
UpdateConfigurationTemplate
returns anInvalidParameterValue
error.- Parameters:
templateName
- The name of the configuration template to update.If no configuration template is found with this name,
UpdateConfigurationTemplate
returns anInvalidParameterValue
error.
-
getTemplateName
public String getTemplateName()
The name of the configuration template to update.
If no configuration template is found with this name,
UpdateConfigurationTemplate
returns anInvalidParameterValue
error.- Returns:
- The name of the configuration template to update.
If no configuration template is found with this name,
UpdateConfigurationTemplate
returns anInvalidParameterValue
error.
-
withTemplateName
public UpdateConfigurationTemplateRequest withTemplateName(String templateName)
The name of the configuration template to update.
If no configuration template is found with this name,
UpdateConfigurationTemplate
returns anInvalidParameterValue
error.- Parameters:
templateName
- The name of the configuration template to update.If no configuration template is found with this name,
UpdateConfigurationTemplate
returns anInvalidParameterValue
error.- 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
UserDefined
configuration options.- Returns:
- A list of configuration options to remove from the configuration
set.
Constraint: You can remove only
UserDefined
configuration options.
-
setOptionsToRemove
public void setOptionsToRemove(Collection<OptionSpecification> optionsToRemove)
A list of configuration options to remove from the configuration set.
Constraint: You can remove only
UserDefined
configuration options.- Parameters:
optionsToRemove
- A list of configuration options to remove from the configuration set.Constraint: You can remove only
UserDefined
configuration options.
-
withOptionsToRemove
public UpdateConfigurationTemplateRequest withOptionsToRemove(OptionSpecification... optionsToRemove)
A list of configuration options to remove from the configuration set.
Constraint: You can remove only
UserDefined
configuration 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
UserDefined
configuration 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
UserDefined
configuration options.- Parameters:
optionsToRemove
- A list of configuration options to remove from the configuration set.Constraint: You can remove only
UserDefined
configuration 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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public UpdateConfigurationTemplateRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-