public class UpdateConfigurationTemplateRequest extends AmazonWebServiceRequest implements java.io.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
| コンストラクタと説明 |
|---|
UpdateConfigurationTemplateRequest()
Default constructor for a new UpdateConfigurationTemplateRequest object.
|
UpdateConfigurationTemplateRequest(java.lang.String applicationName,
java.lang.String templateName)
Constructs a new UpdateConfigurationTemplateRequest object.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getApplicationName()
The name of the application associated with the configuration template
to update.
|
java.lang.String |
getDescription()
A new description for the configuration.
|
java.util.List<ConfigurationOptionSetting> |
getOptionSettings()
A list of configuration option settings to update with the new
specified option value.
|
java.util.List<OptionSpecification> |
getOptionsToRemove()
A list of configuration options to remove from the configuration set.
|
java.lang.String |
getTemplateName()
The name of the configuration template to update.
|
int |
hashCode() |
void |
setApplicationName(java.lang.String applicationName)
The name of the application associated with the configuration template
to update.
|
void |
setDescription(java.lang.String description)
A new description for the configuration.
|
void |
setOptionSettings(java.util.Collection<ConfigurationOptionSetting> optionSettings)
A list of configuration option settings to update with the new
specified option value.
|
void |
setOptionsToRemove(java.util.Collection<OptionSpecification> optionsToRemove)
A list of configuration options to remove from the configuration set.
|
void |
setTemplateName(java.lang.String templateName)
The name of the configuration template to update.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateConfigurationTemplateRequest |
withApplicationName(java.lang.String applicationName)
The name of the application associated with the configuration template
to update.
|
UpdateConfigurationTemplateRequest |
withDescription(java.lang.String description)
A new description for the configuration.
|
UpdateConfigurationTemplateRequest |
withOptionSettings(java.util.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(java.util.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(java.lang.String templateName)
The name of the configuration template to update.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic UpdateConfigurationTemplateRequest()
public UpdateConfigurationTemplateRequest(java.lang.String applicationName,
java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.String getDescription()
Constraints:
Length: 0 - 200
public void setDescription(java.lang.String description)
Constraints:
Length: 0 - 200
description - A new description for the configuration.public UpdateConfigurationTemplateRequest withDescription(java.lang.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 java.util.List<ConfigurationOptionSetting> getOptionSettings()
public void setOptionSettings(java.util.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(java.util.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 java.util.List<OptionSpecification> getOptionsToRemove()
Constraint: You can remove only UserDefined
configuration options.
Constraint: You can remove only UserDefined
configuration options.
public void setOptionsToRemove(java.util.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(java.util.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 java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object