Class CreateConfigurationTemplateRequest
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
Request to create a configuration template.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for CreateConfigurationTemplateRequest object.CreateConfigurationTemplateRequest(String applicationName, String templateName) Constructs a new CreateConfigurationTemplateRequest object. -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a shallow clone of this request.booleanThe name of the application to associate with this configuration template.Describes this configuration.The ID of the environment used with this configuration template.If specified, AWS Elastic Beanstalk sets the specified configuration option to the requested value.The name of the solution stack used by this configuration.If specified, AWS Elastic Beanstalk uses the configuration values from the specified configuration template to create a new configuration.The name of the configuration template.inthashCode()voidsetApplicationName(String applicationName) The name of the application to associate with this configuration template.voidsetDescription(String description) Describes this configuration.voidsetEnvironmentId(String environmentId) The ID of the environment used with this configuration template.voidsetOptionSettings(Collection<ConfigurationOptionSetting> optionSettings) If specified, AWS Elastic Beanstalk sets the specified configuration option to the requested value.voidsetSolutionStackName(String solutionStackName) The name of the solution stack used by this configuration.voidsetSourceConfiguration(SourceConfiguration sourceConfiguration) If specified, AWS Elastic Beanstalk uses the configuration values from the specified configuration template to create a new configuration.voidsetTemplateName(String templateName) The name of the configuration template.toString()Returns a string representation of this object; useful for testing and debugging.withApplicationName(String applicationName) The name of the application to associate with this configuration template.withDescription(String description) Describes this configuration.withEnvironmentId(String environmentId) The ID of the environment used with this configuration template.withOptionSettings(ConfigurationOptionSetting... optionSettings) If specified, AWS Elastic Beanstalk sets the specified configuration option to the requested value.withOptionSettings(Collection<ConfigurationOptionSetting> optionSettings) If specified, AWS Elastic Beanstalk sets the specified configuration option to the requested value.withSolutionStackName(String solutionStackName) The name of the solution stack used by this configuration.withSourceConfiguration(SourceConfiguration sourceConfiguration) If specified, AWS Elastic Beanstalk uses the configuration values from the specified configuration template to create a new configuration.withTemplateName(String templateName) The name of the configuration template.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
-
CreateConfigurationTemplateRequest
public CreateConfigurationTemplateRequest()Default constructor for CreateConfigurationTemplateRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it. -
CreateConfigurationTemplateRequest
Constructs a new CreateConfigurationTemplateRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
applicationName- The name of the application to associate with this configuration template. If no application is found with this name, AWS Elastic Beanstalk returns anInvalidParameterValueerror.templateName- The name of the configuration template.Constraint: This name must be unique per application.
Default: If a configuration template already exists with this name, AWS Elastic Beanstalk returns an
InvalidParameterValueerror.
-
-
Method Details
-
setApplicationName
The name of the application to associate with this configuration template. If no application is found with this name, AWS Elastic Beanstalk returns an
InvalidParameterValueerror.- Parameters:
applicationName- The name of the application to associate with this configuration template. If no application is found with this name, AWS Elastic Beanstalk returns anInvalidParameterValueerror.
-
getApplicationName
The name of the application to associate with this configuration template. If no application is found with this name, AWS Elastic Beanstalk returns an
InvalidParameterValueerror.- Returns:
- The name of the application to associate with this configuration
template. If no application is found with this name, AWS Elastic
Beanstalk returns an
InvalidParameterValueerror.
-
withApplicationName
The name of the application to associate with this configuration template. If no application is found with this name, AWS Elastic Beanstalk returns an
InvalidParameterValueerror.- Parameters:
applicationName- The name of the application to associate with this configuration template. If no application is found with this name, AWS Elastic Beanstalk returns anInvalidParameterValueerror.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTemplateName
The name of the configuration template.
Constraint: This name must be unique per application.
Default: If a configuration template already exists with this name, AWS Elastic Beanstalk returns an
InvalidParameterValueerror.- Parameters:
templateName- The name of the configuration template.Constraint: This name must be unique per application.
Default: If a configuration template already exists with this name, AWS Elastic Beanstalk returns an
InvalidParameterValueerror.
-
getTemplateName
The name of the configuration template.
Constraint: This name must be unique per application.
Default: If a configuration template already exists with this name, AWS Elastic Beanstalk returns an
InvalidParameterValueerror.- Returns:
- The name of the configuration template.
Constraint: This name must be unique per application.
Default: If a configuration template already exists with this name, AWS Elastic Beanstalk returns an
InvalidParameterValueerror.
-
withTemplateName
The name of the configuration template.
Constraint: This name must be unique per application.
Default: If a configuration template already exists with this name, AWS Elastic Beanstalk returns an
InvalidParameterValueerror.- Parameters:
templateName- The name of the configuration template.Constraint: This name must be unique per application.
Default: If a configuration template already exists with this name, AWS Elastic Beanstalk returns an
InvalidParameterValueerror.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSolutionStackName
The name of the solution stack used by this configuration. The solution stack specifies the operating system, architecture, and application server for a configuration template. It determines the set of configuration options as well as the possible and default values.
Use ListAvailableSolutionStacks to obtain a list of available solution stacks.
A solution stack name or a source configuration parameter must be specified, otherwise AWS Elastic Beanstalk returns an
InvalidParameterValueerror.If a solution stack name is not specified and the source configuration parameter is specified, AWS Elastic Beanstalk uses the same solution stack as the source configuration template.
- Parameters:
solutionStackName- The name of the solution stack used by this configuration. The solution stack specifies the operating system, architecture, and application server for a configuration template. It determines the set of configuration options as well as the possible and default values.Use ListAvailableSolutionStacks to obtain a list of available solution stacks.
A solution stack name or a source configuration parameter must be specified, otherwise AWS Elastic Beanstalk returns an
InvalidParameterValueerror.If a solution stack name is not specified and the source configuration parameter is specified, AWS Elastic Beanstalk uses the same solution stack as the source configuration template.
-
getSolutionStackName
The name of the solution stack used by this configuration. The solution stack specifies the operating system, architecture, and application server for a configuration template. It determines the set of configuration options as well as the possible and default values.
Use ListAvailableSolutionStacks to obtain a list of available solution stacks.
A solution stack name or a source configuration parameter must be specified, otherwise AWS Elastic Beanstalk returns an
InvalidParameterValueerror.If a solution stack name is not specified and the source configuration parameter is specified, AWS Elastic Beanstalk uses the same solution stack as the source configuration template.
- Returns:
- The name of the solution stack used by this configuration. The
solution stack specifies the operating system, architecture, and
application server for a configuration template. It determines
the set of configuration options as well as the possible and
default values.
Use ListAvailableSolutionStacks to obtain a list of available solution stacks.
A solution stack name or a source configuration parameter must be specified, otherwise AWS Elastic Beanstalk returns an
InvalidParameterValueerror.If a solution stack name is not specified and the source configuration parameter is specified, AWS Elastic Beanstalk uses the same solution stack as the source configuration template.
-
withSolutionStackName
The name of the solution stack used by this configuration. The solution stack specifies the operating system, architecture, and application server for a configuration template. It determines the set of configuration options as well as the possible and default values.
Use ListAvailableSolutionStacks to obtain a list of available solution stacks.
A solution stack name or a source configuration parameter must be specified, otherwise AWS Elastic Beanstalk returns an
InvalidParameterValueerror.If a solution stack name is not specified and the source configuration parameter is specified, AWS Elastic Beanstalk uses the same solution stack as the source configuration template.
- Parameters:
solutionStackName- The name of the solution stack used by this configuration. The solution stack specifies the operating system, architecture, and application server for a configuration template. It determines the set of configuration options as well as the possible and default values.Use ListAvailableSolutionStacks to obtain a list of available solution stacks.
A solution stack name or a source configuration parameter must be specified, otherwise AWS Elastic Beanstalk returns an
InvalidParameterValueerror.If a solution stack name is not specified and the source configuration parameter is specified, AWS Elastic Beanstalk uses the same solution stack as the source configuration template.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSourceConfiguration
If specified, AWS Elastic Beanstalk uses the configuration values from the specified configuration template to create a new configuration.
Values specified in the
OptionSettingsparameter of this call overrides any values obtained from theSourceConfiguration.If no configuration template is found, returns an
InvalidParameterValueerror.Constraint: If both the solution stack name parameter and the source configuration parameters are specified, the solution stack of the source configuration template must match the specified solution stack name or else AWS Elastic Beanstalk returns an
InvalidParameterCombinationerror.- Parameters:
sourceConfiguration- If specified, AWS Elastic Beanstalk uses the configuration values from the specified configuration template to create a new configuration.Values specified in the
OptionSettingsparameter of this call overrides any values obtained from theSourceConfiguration.If no configuration template is found, returns an
InvalidParameterValueerror.Constraint: If both the solution stack name parameter and the source configuration parameters are specified, the solution stack of the source configuration template must match the specified solution stack name or else AWS Elastic Beanstalk returns an
InvalidParameterCombinationerror.
-
getSourceConfiguration
If specified, AWS Elastic Beanstalk uses the configuration values from the specified configuration template to create a new configuration.
Values specified in the
OptionSettingsparameter of this call overrides any values obtained from theSourceConfiguration.If no configuration template is found, returns an
InvalidParameterValueerror.Constraint: If both the solution stack name parameter and the source configuration parameters are specified, the solution stack of the source configuration template must match the specified solution stack name or else AWS Elastic Beanstalk returns an
InvalidParameterCombinationerror.- Returns:
- If specified, AWS Elastic Beanstalk uses the configuration values
from the specified configuration template to create a new
configuration.
Values specified in the
OptionSettingsparameter of this call overrides any values obtained from theSourceConfiguration.If no configuration template is found, returns an
InvalidParameterValueerror.Constraint: If both the solution stack name parameter and the source configuration parameters are specified, the solution stack of the source configuration template must match the specified solution stack name or else AWS Elastic Beanstalk returns an
InvalidParameterCombinationerror.
-
withSourceConfiguration
public CreateConfigurationTemplateRequest withSourceConfiguration(SourceConfiguration sourceConfiguration) If specified, AWS Elastic Beanstalk uses the configuration values from the specified configuration template to create a new configuration.
Values specified in the
OptionSettingsparameter of this call overrides any values obtained from theSourceConfiguration.If no configuration template is found, returns an
InvalidParameterValueerror.Constraint: If both the solution stack name parameter and the source configuration parameters are specified, the solution stack of the source configuration template must match the specified solution stack name or else AWS Elastic Beanstalk returns an
InvalidParameterCombinationerror.- Parameters:
sourceConfiguration- If specified, AWS Elastic Beanstalk uses the configuration values from the specified configuration template to create a new configuration.Values specified in the
OptionSettingsparameter of this call overrides any values obtained from theSourceConfiguration.If no configuration template is found, returns an
InvalidParameterValueerror.Constraint: If both the solution stack name parameter and the source configuration parameters are specified, the solution stack of the source configuration template must match the specified solution stack name or else AWS Elastic Beanstalk returns an
InvalidParameterCombinationerror.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEnvironmentId
The ID of the environment used with this configuration template.
- Parameters:
environmentId- The ID of the environment used with this configuration template.
-
getEnvironmentId
The ID of the environment used with this configuration template.
- Returns:
- The ID of the environment used with this configuration template.
-
withEnvironmentId
The ID of the environment used with this configuration template.
- Parameters:
environmentId- The ID of the environment used with this configuration template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDescription
Describes this configuration.
- Parameters:
description- Describes this configuration.
-
getDescription
Describes this configuration.
- Returns:
- Describes this configuration.
-
withDescription
Describes this configuration.
- Parameters:
description- Describes this configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getOptionSettings
If specified, AWS Elastic Beanstalk sets the specified configuration option to the requested value. The new value overrides the value obtained from the solution stack or the source configuration template.
- Returns:
- If specified, AWS Elastic Beanstalk sets the specified configuration option to the requested value. The new value overrides the value obtained from the solution stack or the source configuration template.
-
setOptionSettings
If specified, AWS Elastic Beanstalk sets the specified configuration option to the requested value. The new value overrides the value obtained from the solution stack or the source configuration template.
- Parameters:
optionSettings- If specified, AWS Elastic Beanstalk sets the specified configuration option to the requested value. The new value overrides the value obtained from the solution stack or the source configuration template.
-
withOptionSettings
public CreateConfigurationTemplateRequest withOptionSettings(ConfigurationOptionSetting... optionSettings) If specified, AWS Elastic Beanstalk sets the specified configuration option to the requested value. The new value overrides the value obtained from the solution stack or the source configuration template.
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- If specified, AWS Elastic Beanstalk sets the specified configuration option to the requested value. The new value overrides the value obtained from the solution stack or the source configuration template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withOptionSettings
public CreateConfigurationTemplateRequest withOptionSettings(Collection<ConfigurationOptionSetting> optionSettings) If specified, AWS Elastic Beanstalk sets the specified configuration option to the requested value. The new value overrides the value obtained from the solution stack or the source configuration template.
- Parameters:
optionSettings- If specified, AWS Elastic Beanstalk sets the specified configuration option to the requested value. The new value overrides the value obtained from the solution stack or the source configuration template.- 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:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
-