@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()
For responses, this returns true if the service returned a value for the OptionSettings property.
|
boolean |
hasTags()
For responses, this returns true if the service returned a value for the Tags property.
|
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 final String applicationName()
The name of the Elastic Beanstalk application to associate with this configuration template.
public final 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 final 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 final 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 final 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 final 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 final String description()
An optional description for this configuration.
public final boolean hasOptionSettings()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final 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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasOptionSettings() method.
public final boolean hasTags()
isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.public final 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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTags() method.
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 final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.