@Generated(value="software.amazon.awssdk:codegen") public class CreateConfigurationTemplateRequest extends ElasticBeanstalkRequest implements ToCopyableBuilder<CreateConfigurationTemplateRequest.Builder,CreateConfigurationTemplateRequest>
Request to create a configuration template.
Modifier and Type | Class and Description |
---|---|
static interface |
CreateConfigurationTemplateRequest.Builder |
Modifier and Type | Method and Description |
---|---|
String |
applicationName()
The name of the application to associate with this configuration template.
|
static CreateConfigurationTemplateRequest.Builder |
builder() |
String |
description()
Describes this configuration.
|
String |
environmentId()
The ID of the environment used with this configuration template.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
List<ConfigurationOptionSetting> |
optionSettings()
If specified, AWS Elastic Beanstalk sets the specified configuration option to the requested value.
|
String |
platformArn()
The ARN of the custome platform.
|
static Class<? extends CreateConfigurationTemplateRequest.Builder> |
serializableBuilderClass() |
String |
solutionStackName()
The name of the solution stack used by this configuration.
|
SourceConfiguration |
sourceConfiguration()
If specified, AWS Elastic Beanstalk uses the configuration values from the specified configuration template to
create a new configuration.
|
String |
templateName()
The name of the configuration template.
|
CreateConfigurationTemplateRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
requestOverrideConfig
copy
public 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.
InvalidParameterValue
error.public 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.
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 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.
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 platformArn()
The ARN of the custome platform.
public 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.
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 String environmentId()
The ID of the environment used with this configuration template.
public String description()
Describes this configuration.
public List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public CreateConfigurationTemplateRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateConfigurationTemplateRequest.Builder,CreateConfigurationTemplateRequest>
toBuilder
in class ElasticBeanstalkRequest
public static CreateConfigurationTemplateRequest.Builder builder()
public static Class<? extends CreateConfigurationTemplateRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.