Class UpdateConfigurationTemplateRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
The result message containing the options for the specified solution stack.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for UpdateConfigurationTemplateRequest object.UpdateConfigurationTemplateRequest
(String applicationName, String templateName) Constructs a new UpdateConfigurationTemplateRequest object. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The name of the application associated with the configuration template to update.A new description for the configuration.A list of configuration option settings to update with the new specified option value.A list of configuration options to remove from the configuration set.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.toString()
Returns a string representation of this object; useful for testing and debugging.withApplicationName
(String applicationName) The name of the application associated with the configuration template to update.withDescription
(String description) A new description for the configuration.withOptionSettings
(ConfigurationOptionSetting... optionSettings) A list of configuration option settings to update with the new specified option value.withOptionSettings
(Collection<ConfigurationOptionSetting> optionSettings) A list of configuration option settings to update with the new specified option value.withOptionsToRemove
(OptionSpecification... optionsToRemove) A list of configuration options to remove from the configuration set.withOptionsToRemove
(Collection<OptionSpecification> optionsToRemove) A list of configuration options to remove from the configuration set.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 Details
-
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
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 Details
-
setApplicationName
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
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
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
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
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
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
A new description for the configuration.
- Parameters:
description
- A new description for the configuration.
-
getDescription
A new description for the configuration.
- Returns:
- A new description for the configuration.
-
withDescription
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
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
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
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
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
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:
-