@Generated(value="software.amazon.awssdk:codegen") public final 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 Elastic Beanstalk application to associate with this configuration template.
|
static CreateConfigurationTemplateRequest.Builder |
builder() |
String |
description()
An optional description for this configuration.
|
String |
environmentId()
The ID of an environment whose settings you want to use to create the configuration template.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasOptionSettings()
Returns true if the OptionSettings property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
boolean |
hasTags()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
List<ConfigurationOptionSetting> |
optionSettings()
Option values for the Elastic Beanstalk configuration, such as the instance type.
|
String |
platformArn()
The Amazon Resource Name (ARN) of the custom platform.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateConfigurationTemplateRequest.Builder> |
serializableBuilderClass() |
String |
solutionStackName()
The name of an Elastic Beanstalk solution stack (platform version) that this configuration uses.
|
SourceConfiguration |
sourceConfiguration()
An Elastic Beanstalk configuration template to base this one on.
|
List<Tag> |
tags()
Specifies the tags applied to the configuration template.
|
String |
templateName()
The name of the configuration template.
|
CreateConfigurationTemplateRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String applicationName()
The name of the Elastic Beanstalk application to associate with this configuration template.
public String templateName()
The name of the configuration template.
Constraint: This name must be unique per application.
Constraint: This name must be unique per application.
public 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.
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 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.
If you specify PlatformArn, then don't specify SolutionStackName.
public 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.
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 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 if you don't specify PlatformArn,
SolutionStackName, or SourceConfiguration.public String description()
An optional description for this configuration.
public boolean hasOptionSettings()
public List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasOptionSettings() to see if a value was sent in this field.
public boolean hasTags()
public List<Tag> tags()
Specifies the tags applied to the configuration template.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTags() to see if a value was sent in this field.
public CreateConfigurationTemplateRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateConfigurationTemplateRequest.Builder,CreateConfigurationTemplateRequest>toBuilder in class ElasticBeanstalkRequestpublic static CreateConfigurationTemplateRequest.Builder builder()
public static Class<? extends CreateConfigurationTemplateRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.