@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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 object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getApplicationName()
The name of the Elastic Beanstalk application to associate with this configuration template.
|
String |
getDescription()
An optional description for this configuration.
|
String |
getEnvironmentId()
The ID of an environment whose settings you want to use to create the configuration template.
|
List<ConfigurationOptionSetting> |
getOptionSettings()
Option values for the Elastic Beanstalk configuration, such as the instance type.
|
String |
getPlatformArn()
The Amazon Resource Name (ARN) of the custom platform.
|
String |
getSolutionStackName()
The name of an Elastic Beanstalk solution stack (platform version) that this configuration uses.
|
SourceConfiguration |
getSourceConfiguration()
An Elastic Beanstalk configuration template to base this one on.
|
List<Tag> |
getTags()
Specifies the tags applied to the configuration template.
|
String |
getTemplateName()
The name of the configuration template.
|
int |
hashCode() |
void |
setApplicationName(String applicationName)
The name of the Elastic Beanstalk application to associate with this configuration template.
|
void |
setDescription(String description)
An optional description for this configuration.
|
void |
setEnvironmentId(String environmentId)
The ID of an environment whose settings you want to use to create the configuration template.
|
void |
setOptionSettings(Collection<ConfigurationOptionSetting> optionSettings)
Option values for the Elastic Beanstalk configuration, such as the instance type.
|
void |
setPlatformArn(String platformArn)
The Amazon Resource Name (ARN) of the custom platform.
|
void |
setSolutionStackName(String solutionStackName)
The name of an Elastic Beanstalk solution stack (platform version) that this configuration uses.
|
void |
setSourceConfiguration(SourceConfiguration sourceConfiguration)
An Elastic Beanstalk configuration template to base this one on.
|
void |
setTags(Collection<Tag> tags)
Specifies the tags applied to the configuration template.
|
void |
setTemplateName(String templateName)
The name of the configuration template.
|
String |
toString()
Returns a string representation of this object.
|
CreateConfigurationTemplateRequest |
withApplicationName(String applicationName)
The name of the Elastic Beanstalk application to associate with this configuration template.
|
CreateConfigurationTemplateRequest |
withDescription(String description)
An optional description for this configuration.
|
CreateConfigurationTemplateRequest |
withEnvironmentId(String environmentId)
The ID of an environment whose settings you want to use to create the configuration template.
|
CreateConfigurationTemplateRequest |
withOptionSettings(Collection<ConfigurationOptionSetting> optionSettings)
Option values for the Elastic Beanstalk configuration, such as the instance type.
|
CreateConfigurationTemplateRequest |
withOptionSettings(ConfigurationOptionSetting... optionSettings)
Option values for the Elastic Beanstalk configuration, such as the instance type.
|
CreateConfigurationTemplateRequest |
withPlatformArn(String platformArn)
The Amazon Resource Name (ARN) of the custom platform.
|
CreateConfigurationTemplateRequest |
withSolutionStackName(String solutionStackName)
The name of an Elastic Beanstalk solution stack (platform version) that this configuration uses.
|
CreateConfigurationTemplateRequest |
withSourceConfiguration(SourceConfiguration sourceConfiguration)
An Elastic Beanstalk configuration template to base this one on.
|
CreateConfigurationTemplateRequest |
withTags(Collection<Tag> tags)
Specifies the tags applied to the configuration template.
|
CreateConfigurationTemplateRequest |
withTags(Tag... tags)
Specifies the tags applied to the configuration template.
|
CreateConfigurationTemplateRequest |
withTemplateName(String templateName)
The name of the configuration template.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public CreateConfigurationTemplateRequest()
public CreateConfigurationTemplateRequest(String applicationName, String templateName)
applicationName
- The name of the Elastic Beanstalk application to associate with this configuration template.templateName
- The name of the configuration template.
Constraint: This name must be unique per application.
public void setApplicationName(String applicationName)
The name of the Elastic Beanstalk application to associate with this configuration template.
applicationName
- The name of the Elastic Beanstalk application to associate with this configuration template.public String getApplicationName()
The name of the Elastic Beanstalk application to associate with this configuration template.
public CreateConfigurationTemplateRequest withApplicationName(String applicationName)
The name of the Elastic Beanstalk application to associate with this configuration template.
applicationName
- The name of the Elastic Beanstalk application to associate with this configuration template.public void setTemplateName(String templateName)
The name of the configuration template.
Constraint: This name must be unique per application.
templateName
- The name of the configuration template.
Constraint: This name must be unique per application.
public String getTemplateName()
The name of the configuration template.
Constraint: This name must be unique per application.
Constraint: This name must be unique per application.
public CreateConfigurationTemplateRequest withTemplateName(String templateName)
The name of the configuration template.
Constraint: This name must be unique per application.
templateName
- The name of the configuration template.
Constraint: This name must be unique per application.
public void setSolutionStackName(String solutionStackName)
The name of an Elastic Beanstalk solution stack (platform version) that this configuration uses. For example,
64bit Amazon Linux 2013.09 running Tomcat 7 Java 7
. A solution stack specifies the operating system,
runtime, and application server for a configuration template. It also determines the set of configuration options
as well as the possible and default values. For more information, see Supported Platforms in
the AWS Elastic Beanstalk Developer Guide.
You must specify SolutionStackName
if you don't specify PlatformArn
,
EnvironmentId
, or SourceConfiguration
.
Use the
ListAvailableSolutionStacks
API to obtain a list of available solution stacks.
solutionStackName
- The name of an Elastic Beanstalk solution stack (platform version) that this configuration uses. For
example, 64bit Amazon Linux 2013.09 running Tomcat 7 Java 7
. A solution stack specifies the
operating system, runtime, and application server for a configuration template. It also determines the set
of configuration options as well as the possible and default values. For more information, see Supported
Platforms in the AWS Elastic Beanstalk Developer Guide.
You must specify SolutionStackName
if you don't specify PlatformArn
,
EnvironmentId
, or SourceConfiguration
.
Use the
ListAvailableSolutionStacks
API to obtain a list of available solution stacks.
public String getSolutionStackName()
The name of an Elastic Beanstalk solution stack (platform version) that this configuration uses. For example,
64bit Amazon Linux 2013.09 running Tomcat 7 Java 7
. A solution stack specifies the operating system,
runtime, and application server for a configuration template. It also determines the set of configuration options
as well as the possible and default values. For more information, see Supported Platforms in
the AWS Elastic Beanstalk Developer Guide.
You must specify SolutionStackName
if you don't specify PlatformArn
,
EnvironmentId
, or SourceConfiguration
.
Use the
ListAvailableSolutionStacks
API to obtain a list of available solution stacks.
64bit Amazon Linux 2013.09 running Tomcat 7 Java 7
. A solution stack specifies the
operating system, runtime, and application server for a configuration template. It also determines the
set of configuration options as well as the possible and default values. For more information, see Supported
Platforms in the AWS Elastic Beanstalk Developer Guide.
You must specify SolutionStackName
if you don't specify PlatformArn
,
EnvironmentId
, or SourceConfiguration
.
Use the
ListAvailableSolutionStacks
API to obtain a list of available solution stacks.
public CreateConfigurationTemplateRequest withSolutionStackName(String solutionStackName)
The name of an Elastic Beanstalk solution stack (platform version) that this configuration uses. For example,
64bit Amazon Linux 2013.09 running Tomcat 7 Java 7
. A solution stack specifies the operating system,
runtime, and application server for a configuration template. It also determines the set of configuration options
as well as the possible and default values. For more information, see Supported Platforms in
the AWS Elastic Beanstalk Developer Guide.
You must specify SolutionStackName
if you don't specify PlatformArn
,
EnvironmentId
, or SourceConfiguration
.
Use the
ListAvailableSolutionStacks
API to obtain a list of available solution stacks.
solutionStackName
- The name of an Elastic Beanstalk solution stack (platform version) that this configuration uses. For
example, 64bit Amazon Linux 2013.09 running Tomcat 7 Java 7
. A solution stack specifies the
operating system, runtime, and application server for a configuration template. It also determines the set
of configuration options as well as the possible and default values. For more information, see Supported
Platforms in the AWS Elastic Beanstalk Developer Guide.
You must specify SolutionStackName
if you don't specify PlatformArn
,
EnvironmentId
, or SourceConfiguration
.
Use the
ListAvailableSolutionStacks
API to obtain a list of available solution stacks.
public void setPlatformArn(String platformArn)
The Amazon Resource Name (ARN) of the custom platform. For more information, see Custom Platforms in the AWS Elastic Beanstalk Developer Guide.
If you specify PlatformArn
, then don't specify SolutionStackName
.
platformArn
- The Amazon Resource Name (ARN) of the custom platform. For more information, see Custom Platforms
in the AWS Elastic Beanstalk Developer Guide.
If you specify PlatformArn
, then don't specify SolutionStackName
.
public String getPlatformArn()
The Amazon Resource Name (ARN) of the custom platform. For more information, see Custom Platforms in the AWS Elastic Beanstalk Developer Guide.
If you specify PlatformArn
, then don't specify SolutionStackName
.
If you specify PlatformArn
, then don't specify SolutionStackName
.
public CreateConfigurationTemplateRequest withPlatformArn(String platformArn)
The Amazon Resource Name (ARN) of the custom platform. For more information, see Custom Platforms in the AWS Elastic Beanstalk Developer Guide.
If you specify PlatformArn
, then don't specify SolutionStackName
.
platformArn
- The Amazon Resource Name (ARN) of the custom platform. For more information, see Custom Platforms
in the AWS Elastic Beanstalk Developer Guide.
If you specify PlatformArn
, then don't specify SolutionStackName
.
public void setSourceConfiguration(SourceConfiguration sourceConfiguration)
An Elastic Beanstalk configuration template to base this one on. If specified, Elastic Beanstalk uses the configuration values from the specified configuration template to create a new configuration.
Values specified in OptionSettings
override any values obtained from the
SourceConfiguration
.
You must specify SourceConfiguration
if you don't specify PlatformArn
,
EnvironmentId
, or SolutionStackName
.
Constraint: If both solution stack name and source configuration are specified, the solution stack of the source configuration template must match the specified solution stack name.
sourceConfiguration
- An Elastic Beanstalk configuration template to base this one on. If specified, Elastic Beanstalk uses the
configuration values from the specified configuration template to create a new configuration.
Values specified in OptionSettings
override any values obtained from the
SourceConfiguration
.
You must specify SourceConfiguration
if you don't specify PlatformArn
,
EnvironmentId
, or SolutionStackName
.
Constraint: If both solution stack name and source configuration are specified, the solution stack of the source configuration template must match the specified solution stack name.
public SourceConfiguration getSourceConfiguration()
An Elastic Beanstalk configuration template to base this one on. If specified, Elastic Beanstalk uses the configuration values from the specified configuration template to create a new configuration.
Values specified in OptionSettings
override any values obtained from the
SourceConfiguration
.
You must specify SourceConfiguration
if you don't specify PlatformArn
,
EnvironmentId
, or SolutionStackName
.
Constraint: If both solution stack name and source configuration are specified, the solution stack of the source configuration template must match the specified solution stack name.
Values specified in OptionSettings
override any values obtained from the
SourceConfiguration
.
You must specify SourceConfiguration
if you don't specify PlatformArn
,
EnvironmentId
, or SolutionStackName
.
Constraint: If both solution stack name and source configuration are specified, the solution stack of the source configuration template must match the specified solution stack name.
public CreateConfigurationTemplateRequest withSourceConfiguration(SourceConfiguration sourceConfiguration)
An Elastic Beanstalk configuration template to base this one on. If specified, Elastic Beanstalk uses the configuration values from the specified configuration template to create a new configuration.
Values specified in OptionSettings
override any values obtained from the
SourceConfiguration
.
You must specify SourceConfiguration
if you don't specify PlatformArn
,
EnvironmentId
, or SolutionStackName
.
Constraint: If both solution stack name and source configuration are specified, the solution stack of the source configuration template must match the specified solution stack name.
sourceConfiguration
- An Elastic Beanstalk configuration template to base this one on. If specified, Elastic Beanstalk uses the
configuration values from the specified configuration template to create a new configuration.
Values specified in OptionSettings
override any values obtained from the
SourceConfiguration
.
You must specify SourceConfiguration
if you don't specify PlatformArn
,
EnvironmentId
, or SolutionStackName
.
Constraint: If both solution stack name and source configuration are specified, the solution stack of the source configuration template must match the specified solution stack name.
public void setEnvironmentId(String environmentId)
The ID of an environment whose settings you want to use to create the configuration template. You must specify
EnvironmentId
if you don't specify PlatformArn
, SolutionStackName
, or
SourceConfiguration
.
environmentId
- The ID of an environment whose settings you want to use to create the configuration template. You must
specify EnvironmentId
if you don't specify PlatformArn
,
SolutionStackName
, or SourceConfiguration
.public String getEnvironmentId()
The ID of an environment whose settings you want to use to create the configuration template. You must specify
EnvironmentId
if you don't specify PlatformArn
, SolutionStackName
, or
SourceConfiguration
.
EnvironmentId
if you don't specify PlatformArn
,
SolutionStackName
, or SourceConfiguration
.public CreateConfigurationTemplateRequest withEnvironmentId(String environmentId)
The ID of an environment whose settings you want to use to create the configuration template. You must specify
EnvironmentId
if you don't specify PlatformArn
, SolutionStackName
, or
SourceConfiguration
.
environmentId
- The ID of an environment whose settings you want to use to create the configuration template. You must
specify EnvironmentId
if you don't specify PlatformArn
,
SolutionStackName
, or SourceConfiguration
.public void setDescription(String description)
An optional description for this configuration.
description
- An optional description for this configuration.public String getDescription()
An optional description for this configuration.
public CreateConfigurationTemplateRequest withDescription(String description)
An optional description for this configuration.
description
- An optional description for this configuration.public List<ConfigurationOptionSetting> getOptionSettings()
Option values for the Elastic Beanstalk configuration, such as the instance type. If specified, these values override the values obtained from the solution stack or the source configuration template. For a complete list of Elastic Beanstalk configuration options, see Option Values in the AWS Elastic Beanstalk Developer Guide.
public void setOptionSettings(Collection<ConfigurationOptionSetting> optionSettings)
Option values for the Elastic Beanstalk configuration, such as the instance type. If specified, these values override the values obtained from the solution stack or the source configuration template. For a complete list of Elastic Beanstalk configuration options, see Option Values in the AWS Elastic Beanstalk Developer Guide.
optionSettings
- Option values for the Elastic Beanstalk configuration, such as the instance type. If specified, these
values override the values obtained from the solution stack or the source configuration template. For a
complete list of Elastic Beanstalk configuration options, see Option Values in
the AWS Elastic Beanstalk Developer Guide.public CreateConfigurationTemplateRequest withOptionSettings(ConfigurationOptionSetting... optionSettings)
Option values for the Elastic Beanstalk configuration, such as the instance type. If specified, these values override the values obtained from the solution stack or the source configuration template. For a complete list of Elastic Beanstalk configuration options, see Option Values in the AWS Elastic Beanstalk Developer Guide.
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
- Option values for the Elastic Beanstalk configuration, such as the instance type. If specified, these
values override the values obtained from the solution stack or the source configuration template. For a
complete list of Elastic Beanstalk configuration options, see Option Values in
the AWS Elastic Beanstalk Developer Guide.public CreateConfigurationTemplateRequest withOptionSettings(Collection<ConfigurationOptionSetting> optionSettings)
Option values for the Elastic Beanstalk configuration, such as the instance type. If specified, these values override the values obtained from the solution stack or the source configuration template. For a complete list of Elastic Beanstalk configuration options, see Option Values in the AWS Elastic Beanstalk Developer Guide.
optionSettings
- Option values for the Elastic Beanstalk configuration, such as the instance type. If specified, these
values override the values obtained from the solution stack or the source configuration template. For a
complete list of Elastic Beanstalk configuration options, see Option Values in
the AWS Elastic Beanstalk Developer Guide.public List<Tag> getTags()
Specifies the tags applied to the configuration template.
public void setTags(Collection<Tag> tags)
Specifies the tags applied to the configuration template.
tags
- Specifies the tags applied to the configuration template.public CreateConfigurationTemplateRequest withTags(Tag... tags)
Specifies the tags applied to the configuration template.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- Specifies the tags applied to the configuration template.public CreateConfigurationTemplateRequest withTags(Collection<Tag> tags)
Specifies the tags applied to the configuration template.
tags
- Specifies the tags applied to the configuration template.public String toString()
toString
in class Object
Object.toString()
public CreateConfigurationTemplateRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()