Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.elasticbeanstalk.model
Class UpdateConfigurationTemplateRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.elasticbeanstalk.model.UpdateConfigurationTemplateRequest

public class UpdateConfigurationTemplateRequest
extends AmazonWebServiceRequest

Container for the parameters to the 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

See Also:
AWSElasticBeanstalk.updateConfigurationTemplate(UpdateConfigurationTemplateRequest)

Constructor Summary
UpdateConfigurationTemplateRequest()
          Default constructor for a new UpdateConfigurationTemplateRequest object.
UpdateConfigurationTemplateRequest(java.lang.String applicationName, java.lang.String templateName)
          Constructs a new UpdateConfigurationTemplateRequest object.
 
Method Summary
 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.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UpdateConfigurationTemplateRequest

public UpdateConfigurationTemplateRequest()
Default constructor for a new UpdateConfigurationTemplateRequest object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.


UpdateConfigurationTemplateRequest

public UpdateConfigurationTemplateRequest(java.lang.String applicationName,
                                          java.lang.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 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.

Method Detail

getApplicationName

public java.lang.String getApplicationName()
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.

Constraints:
Length: 1 - 100

Returns:
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.


setApplicationName

public void setApplicationName(java.lang.String 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.

Constraints:
Length: 1 - 100

Parameters:
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.


withApplicationName

public UpdateConfigurationTemplateRequest withApplicationName(java.lang.String 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.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 100

Parameters:
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.

Returns:
A reference to this updated object so that method calls can be chained together.

getTemplateName

public java.lang.String getTemplateName()
The name of the configuration template to update.

If no configuration template is found with this name, UpdateConfigurationTemplate returns an InvalidParameterValue error.

Constraints:
Length: 1 - 100

Returns:
The name of the configuration template to update.

If no configuration template is found with this name, UpdateConfigurationTemplate returns an InvalidParameterValue error.


setTemplateName

public void setTemplateName(java.lang.String templateName)
The name of the configuration template to update.

If no configuration template is found with this name, UpdateConfigurationTemplate returns an InvalidParameterValue error.

Constraints:
Length: 1 - 100

Parameters:
templateName - The name of the configuration template to update.

If no configuration template is found with this name, UpdateConfigurationTemplate returns an InvalidParameterValue error.


withTemplateName

public UpdateConfigurationTemplateRequest withTemplateName(java.lang.String templateName)
The name of the configuration template to update.

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

Parameters:
templateName - The name of the configuration template to update.

If no configuration template is found with this name, UpdateConfigurationTemplate returns an InvalidParameterValue error.

Returns:
A reference to this updated object so that method calls can be chained together.

getDescription

public java.lang.String getDescription()
A new description for the configuration.

Constraints:
Length: 0 - 200

Returns:
A new description for the configuration.

setDescription

public void setDescription(java.lang.String description)
A new description for the configuration.

Constraints:
Length: 0 - 200

Parameters:
description - A new description for the configuration.

withDescription

public UpdateConfigurationTemplateRequest withDescription(java.lang.String description)
A new description for the configuration.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 0 - 200

Parameters:
description - A new description for the configuration.
Returns:
A reference to this updated object so that method calls can be chained together.

getOptionSettings

public java.util.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(java.util.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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
optionSettings - A list of configuration option settings to update with the new specified option value.
Returns:
A reference to this updated object so that method calls can be chained together.

withOptionSettings

public UpdateConfigurationTemplateRequest withOptionSettings(java.util.Collection<ConfigurationOptionSetting> optionSettings)
A list of configuration option settings to update with the new specified option value.

Returns a reference to this object so that method calls can be chained together.

Parameters:
optionSettings - A list of configuration option settings to update with the new specified option value.
Returns:
A reference to this updated object so that method calls can be chained together.

getOptionsToRemove

public java.util.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(java.util.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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
optionsToRemove - A list of configuration options to remove from the configuration set.

Constraint: You can remove only UserDefined configuration options.

Returns:
A reference to this updated object so that method calls can be chained together.

withOptionsToRemove

public UpdateConfigurationTemplateRequest withOptionsToRemove(java.util.Collection<OptionSpecification> optionsToRemove)
A list of configuration options to remove from the configuration set.

Constraint: You can remove only UserDefined configuration options.

Returns a reference to this object so that method calls can be chained together.

Parameters:
optionsToRemove - A list of configuration options to remove from the configuration set.

Constraint: You can remove only UserDefined configuration options.

Returns:
A reference to this updated object so that method calls can be chained together.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.