public class UpdateConfigurationTemplateRequest extends AmazonWebServiceRequest implements Serializable
UpdateConfigurationTemplate operation
.
Updates the specified configuration template to have the specified properties or configuration option values.
NOTE: If a property (for example, ApplicationName) is not provided, its value remains unchanged. To clear such properties, specify an empty string.
Related Topics
NOOP
Constructor and Description |
---|
UpdateConfigurationTemplateRequest()
Default constructor for a new UpdateConfigurationTemplateRequest object.
|
UpdateConfigurationTemplateRequest(String applicationName,
String templateName)
Constructs a new UpdateConfigurationTemplateRequest object.
|
Modifier and Type | Method and Description |
---|---|
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(Collection<ConfigurationOptionSetting> optionSettings)
A list of configuration option settings to update with the new
specified option value.
|
UpdateConfigurationTemplateRequest |
withOptionSettings(ConfigurationOptionSetting... optionSettings)
A list of configuration option settings to update with the new
specified option value.
|
UpdateConfigurationTemplateRequest |
withOptionsToRemove(Collection<OptionSpecification> optionsToRemove)
A list of configuration options to remove from the configuration set.
|
UpdateConfigurationTemplateRequest |
withOptionsToRemove(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.
|
copyPrivateRequestParameters, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public UpdateConfigurationTemplateRequest()
public UpdateConfigurationTemplateRequest(String applicationName, String templateName)
applicationName
- The name of the application associated with the
configuration template to update. If no application is found with
this name, UpdateConfigurationTemplate
returns an
InvalidParameterValue
error.
templateName
- The name of the configuration template to update.
If no configuration template is found with this name,
UpdateConfigurationTemplate
returns an
InvalidParameterValue
error.
public String getApplicationName()
If no application is found with this name,
UpdateConfigurationTemplate
returns an
InvalidParameterValue
error.
Constraints:
Length: 1 - 100
If no application is found with this name,
UpdateConfigurationTemplate
returns an
InvalidParameterValue
error.
public void setApplicationName(String applicationName)
If no application is found with this name,
UpdateConfigurationTemplate
returns an
InvalidParameterValue
error.
Constraints:
Length: 1 - 100
applicationName
- The name of the application associated with the configuration template
to update. If no application is found with this name,
UpdateConfigurationTemplate
returns an
InvalidParameterValue
error.
public UpdateConfigurationTemplateRequest withApplicationName(String applicationName)
If no application is found with this name,
UpdateConfigurationTemplate
returns an
InvalidParameterValue
error.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
applicationName
- The name of the application associated with the configuration template
to update. If no application is found with this name,
UpdateConfigurationTemplate
returns an
InvalidParameterValue
error.
public String getTemplateName()
If no
configuration template is found with this name,
UpdateConfigurationTemplate
returns an
InvalidParameterValue
error.
Constraints:
Length: 1 - 100
If no
configuration template is found with this name,
UpdateConfigurationTemplate
returns an
InvalidParameterValue
error.
public void setTemplateName(String templateName)
If no
configuration template is found with this name,
UpdateConfigurationTemplate
returns an
InvalidParameterValue
error.
Constraints:
Length: 1 - 100
templateName
- The name of the configuration template to update. If no
configuration template is found with this name,
UpdateConfigurationTemplate
returns an
InvalidParameterValue
error.
public UpdateConfigurationTemplateRequest withTemplateName(String templateName)
If no
configuration template is found with this name,
UpdateConfigurationTemplate
returns an
InvalidParameterValue
error.
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 update. If no
configuration template is found with this name,
UpdateConfigurationTemplate
returns an
InvalidParameterValue
error.
public String getDescription()
Constraints:
Length: 0 - 200
public void setDescription(String description)
Constraints:
Length: 0 - 200
description
- A new description for the configuration.public UpdateConfigurationTemplateRequest withDescription(String description)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 200
description
- A new description for the configuration.public List<ConfigurationOptionSetting> getOptionSettings()
public void setOptionSettings(Collection<ConfigurationOptionSetting> optionSettings)
optionSettings
- A list of configuration option settings to update with the new
specified option value.public UpdateConfigurationTemplateRequest withOptionSettings(ConfigurationOptionSetting... optionSettings)
Returns a reference to this object so that method calls can be chained together.
optionSettings
- A list of configuration option settings to update with the new
specified option value.public UpdateConfigurationTemplateRequest withOptionSettings(Collection<ConfigurationOptionSetting> optionSettings)
Returns a reference to this object so that method calls can be chained together.
optionSettings
- A list of configuration option settings to update with the new
specified option value.public List<OptionSpecification> getOptionsToRemove()
Constraint: You can remove only UserDefined
configuration options.
Constraint: You can remove only UserDefined
configuration options.
public void setOptionsToRemove(Collection<OptionSpecification> optionsToRemove)
Constraint: You can remove only UserDefined
configuration options.
optionsToRemove
- A list of configuration options to remove from the configuration set.
Constraint: You can remove only UserDefined
configuration options.
public UpdateConfigurationTemplateRequest withOptionsToRemove(OptionSpecification... optionsToRemove)
Constraint: You can remove only UserDefined
configuration options.
Returns a reference to this object so that method calls can be chained together.
optionsToRemove
- A list of configuration options to remove from the configuration set.
Constraint: You can remove only UserDefined
configuration options.
public UpdateConfigurationTemplateRequest withOptionsToRemove(Collection<OptionSpecification> optionsToRemove)
Constraint: You can remove only UserDefined
configuration options.
Returns a reference to this object so that method calls can be chained together.
optionsToRemove
- A list of configuration options to remove from the configuration set.
Constraint: You can remove only UserDefined
configuration options.
public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.