public class UpdateConfigurationTemplateRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
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 | 
|---|---|
| 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(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. | 
copyBaseTo, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic 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)
 NOTE: This method appends the values to the existing list (if
 any). Use setOptionSettings(java.util.Collection) or withOptionSettings(java.util.Collection) if you want to override the
 existing values.
 
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.
 
 NOTE: This method appends the values to the existing list (if
 any). Use setOptionsToRemove(java.util.Collection) or withOptionsToRemove(java.util.Collection) if you want to override
 the existing values.
 
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 ObjectObject.toString()public UpdateConfigurationTemplateRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2015. All rights reserved.