public class CreateConfigurationTemplateRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Request to create a configuration template.
NOOP
Constructor and Description |
---|
CreateConfigurationTemplateRequest()
Default constructor for CreateConfigurationTemplateRequest object.
|
CreateConfigurationTemplateRequest(String applicationName,
String templateName)
Constructs a new CreateConfigurationTemplateRequest object.
|
Modifier and Type | Method and Description |
---|---|
CreateConfigurationTemplateRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getApplicationName()
The name of the application to associate with this configuration
template.
|
String |
getDescription()
Describes this configuration.
|
String |
getEnvironmentId()
The ID of the environment used with this configuration template.
|
List<ConfigurationOptionSetting> |
getOptionSettings()
If specified, AWS Elastic Beanstalk sets the specified configuration
option to the requested value.
|
String |
getSolutionStackName()
The name of the solution stack used by this configuration.
|
SourceConfiguration |
getSourceConfiguration()
If specified, AWS Elastic Beanstalk uses the configuration values from
the specified configuration template to create a new configuration.
|
String |
getTemplateName()
The name of the configuration template.
|
int |
hashCode() |
void |
setApplicationName(String applicationName)
The name of the application to associate with this configuration
template.
|
void |
setDescription(String description)
Describes this configuration.
|
void |
setEnvironmentId(String environmentId)
The ID of the environment used with this configuration template.
|
void |
setOptionSettings(Collection<ConfigurationOptionSetting> optionSettings)
If specified, AWS Elastic Beanstalk sets the specified configuration
option to the requested value.
|
void |
setSolutionStackName(String solutionStackName)
The name of the solution stack used by this configuration.
|
void |
setSourceConfiguration(SourceConfiguration sourceConfiguration)
If specified, AWS Elastic Beanstalk uses the configuration values from
the specified configuration template to create a new configuration.
|
void |
setTemplateName(String templateName)
The name of the configuration template.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateConfigurationTemplateRequest |
withApplicationName(String applicationName)
The name of the application to associate with this configuration
template.
|
CreateConfigurationTemplateRequest |
withDescription(String description)
Describes this configuration.
|
CreateConfigurationTemplateRequest |
withEnvironmentId(String environmentId)
The ID of the environment used with this configuration template.
|
CreateConfigurationTemplateRequest |
withOptionSettings(Collection<ConfigurationOptionSetting> optionSettings)
If specified, AWS Elastic Beanstalk sets the specified configuration
option to the requested value.
|
CreateConfigurationTemplateRequest |
withOptionSettings(ConfigurationOptionSetting... optionSettings)
If specified, AWS Elastic Beanstalk sets the specified configuration
option to the requested value.
|
CreateConfigurationTemplateRequest |
withSolutionStackName(String solutionStackName)
The name of the solution stack used by this configuration.
|
CreateConfigurationTemplateRequest |
withSourceConfiguration(SourceConfiguration sourceConfiguration)
If specified, AWS Elastic Beanstalk uses the configuration values from
the specified configuration template to create a new configuration.
|
CreateConfigurationTemplateRequest |
withTemplateName(String templateName)
The name of the configuration template.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public CreateConfigurationTemplateRequest()
public CreateConfigurationTemplateRequest(String applicationName, String templateName)
applicationName
- The name of the application to associate with this configuration
template. If no application is found with this name, AWS Elastic
Beanstalk returns an InvalidParameterValue
error.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
InvalidParameterValue
error.
public void setApplicationName(String applicationName)
The name of the application to associate with this configuration
template. If no application is found with this name, AWS Elastic
Beanstalk returns an InvalidParameterValue
error.
applicationName
- The name of the application to associate with this configuration
template. If no application is found with this name, AWS Elastic
Beanstalk returns an InvalidParameterValue
error.public String 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 InvalidParameterValue
error.
InvalidParameterValue
error.public CreateConfigurationTemplateRequest withApplicationName(String applicationName)
The name of the application to associate with this configuration
template. If no application is found with this name, AWS Elastic
Beanstalk returns an InvalidParameterValue
error.
applicationName
- The name of the application to associate with this configuration
template. If no application is found with this name, AWS Elastic
Beanstalk returns an InvalidParameterValue
error.public void setTemplateName(String 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 InvalidParameterValue
error.
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
InvalidParameterValue
error.
public String 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 InvalidParameterValue
error.
Constraint: This name must be unique per application.
Default: If a configuration template already exists with this
name, AWS Elastic Beanstalk returns an
InvalidParameterValue
error.
public CreateConfigurationTemplateRequest withTemplateName(String 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 InvalidParameterValue
error.
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
InvalidParameterValue
error.
public void setSolutionStackName(String 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
InvalidParameterValue
error.
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.
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
InvalidParameterValue
error.
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.
public String 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
InvalidParameterValue
error.
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.
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
InvalidParameterValue
error.
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.
public CreateConfigurationTemplateRequest withSolutionStackName(String 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
InvalidParameterValue
error.
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.
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
InvalidParameterValue
error.
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.
public void setSourceConfiguration(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 OptionSettings
parameter of this
call overrides any values obtained from the
SourceConfiguration
.
If no configuration template is found, returns an
InvalidParameterValue
error.
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
InvalidParameterCombination
error.
sourceConfiguration
- If specified, AWS Elastic Beanstalk uses the configuration values
from the specified configuration template to create a new
configuration.
Values specified in the OptionSettings
parameter of
this call overrides any values obtained from the
SourceConfiguration
.
If no configuration template is found, returns an
InvalidParameterValue
error.
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
InvalidParameterCombination
error.
public SourceConfiguration getSourceConfiguration()
If specified, AWS Elastic Beanstalk uses the configuration values from the specified configuration template to create a new configuration.
Values specified in the OptionSettings
parameter of this
call overrides any values obtained from the
SourceConfiguration
.
If no configuration template is found, returns an
InvalidParameterValue
error.
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
InvalidParameterCombination
error.
Values specified in the OptionSettings
parameter of
this call overrides any values obtained from the
SourceConfiguration
.
If no configuration template is found, returns an
InvalidParameterValue
error.
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
InvalidParameterCombination
error.
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 OptionSettings
parameter of this
call overrides any values obtained from the
SourceConfiguration
.
If no configuration template is found, returns an
InvalidParameterValue
error.
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
InvalidParameterCombination
error.
sourceConfiguration
- If specified, AWS Elastic Beanstalk uses the configuration values
from the specified configuration template to create a new
configuration.
Values specified in the OptionSettings
parameter of
this call overrides any values obtained from the
SourceConfiguration
.
If no configuration template is found, returns an
InvalidParameterValue
error.
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
InvalidParameterCombination
error.
public void setEnvironmentId(String environmentId)
The ID of the environment used with this configuration template.
environmentId
- The ID of the environment used with this configuration template.public String getEnvironmentId()
The ID of the environment used with this configuration template.
public CreateConfigurationTemplateRequest withEnvironmentId(String environmentId)
The ID of the environment used with this configuration template.
environmentId
- The ID of the environment used with this configuration template.public void setDescription(String description)
Describes this configuration.
description
- Describes this configuration.public String getDescription()
Describes this configuration.
public CreateConfigurationTemplateRequest withDescription(String description)
Describes this configuration.
description
- Describes this configuration.public List<ConfigurationOptionSetting> 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.
public void setOptionSettings(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.
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.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)
or
withOptionSettings(java.util.Collection)
if you want to override
the existing values.
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.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.
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.public String toString()
toString
in class Object
Object.toString()
public CreateConfigurationTemplateRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.