@Generated(value="software.amazon.awssdk:codegen") public final class CreateEnvironmentRequest extends ElasticBeanstalkRequest implements ToCopyableBuilder<CreateEnvironmentRequest.Builder,CreateEnvironmentRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateEnvironmentRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
applicationName()
The name of the application that is associated with this environment.
|
static CreateEnvironmentRequest.Builder |
builder() |
String |
cnamePrefix()
If specified, the environment attempts to use this value as the prefix for the CNAME in your Elastic Beanstalk
environment URL.
|
String |
description()
Your description for this environment.
|
String |
environmentName()
A unique name for the environment.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
String |
groupName()
The name of the group to which the target environment belongs.
|
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 |
hasOptionsToRemove()
Returns true if the OptionsToRemove 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).
|
String |
operationsRole()
The Amazon Resource Name (ARN) of an existing IAM role to be used as the environment's operations role.
|
List<ConfigurationOptionSetting> |
optionSettings()
If specified, AWS Elastic Beanstalk sets the specified configuration options to the requested value in the
configuration set for the new environment.
|
List<OptionSpecification> |
optionsToRemove()
A list of custom user-defined configuration options to remove from the configuration set for this new
environment.
|
String |
platformArn()
The Amazon Resource Name (ARN) of the custom platform to use with the environment.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateEnvironmentRequest.Builder> |
serializableBuilderClass() |
String |
solutionStackName()
The name of an Elastic Beanstalk solution stack (platform version) to use with the environment.
|
List<Tag> |
tags()
Specifies the tags applied to resources in the environment.
|
String |
templateName()
The name of the Elastic Beanstalk configuration template to use with the environment.
|
EnvironmentTier |
tier()
Specifies the tier to use in creating this environment.
|
CreateEnvironmentRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
versionLabel()
The name of the application version to deploy.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String applicationName()
The name of the application that is associated with this environment.
public String environmentName()
A unique name for the environment.
Constraint: Must be from 4 to 40 characters in length. The name can contain only letters, numbers, and hyphens.
It can't start or end with a hyphen. This name must be unique within a region in your account. If the specified
name already exists in the region, Elastic Beanstalk returns an InvalidParameterValue error.
If you don't specify the CNAMEPrefix parameter, the environment name becomes part of the CNAME, and
therefore part of the visible URL for your application.
Constraint: Must be from 4 to 40 characters in length. The name can contain only letters, numbers, and
hyphens. It can't start or end with a hyphen. This name must be unique within a region in your account.
If the specified name already exists in the region, Elastic Beanstalk returns an
InvalidParameterValue error.
If you don't specify the CNAMEPrefix parameter, the environment name becomes part of the
CNAME, and therefore part of the visible URL for your application.
public String groupName()
The name of the group to which the target environment belongs. Specify a group name only if the environment's name is specified in an environment manifest and not with the environment name parameter. See Environment Manifest (env.yaml) for details.
public String description()
Your description for this environment.
public String cnamePrefix()
If specified, the environment attempts to use this value as the prefix for the CNAME in your Elastic Beanstalk environment URL. If not specified, the CNAME is generated automatically by appending a random alphanumeric string to the environment name.
public EnvironmentTier tier()
Specifies the tier to use in creating this environment. The environment tier that you choose determines whether Elastic Beanstalk provisions resources to support a web application that handles HTTP(S) requests or a web application that handles background-processing tasks.
public boolean hasTags()
public List<Tag> tags()
Specifies the tags applied to resources in the environment.
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 String versionLabel()
The name of the application version to deploy.
Default: If not specified, Elastic Beanstalk attempts to deploy the sample application.
Default: If not specified, Elastic Beanstalk attempts to deploy the sample application.
public String templateName()
The name of the Elastic Beanstalk configuration template to use with the environment.
If you specify TemplateName, then don't specify SolutionStackName.
If you specify TemplateName, then don't specify SolutionStackName.
public String solutionStackName()
The name of an Elastic Beanstalk solution stack (platform version) to use with the environment. If specified, Elastic Beanstalk sets the configuration values to the default values associated with the specified solution stack. For a list of current solution stacks, see Elastic Beanstalk Supported Platforms in the AWS Elastic Beanstalk Platforms guide.
If you specify SolutionStackName, don't specify PlatformArn or
TemplateName.
If you specify SolutionStackName, don't specify PlatformArn or
TemplateName.
public String platformArn()
The Amazon Resource Name (ARN) of the custom platform to use with the environment. For more information, see Custom Platforms in the AWS Elastic Beanstalk Developer Guide.
If you specify PlatformArn, don't specify SolutionStackName.
If you specify PlatformArn, don't specify SolutionStackName.
public boolean hasOptionSettings()
public List<ConfigurationOptionSetting> optionSettings()
If specified, AWS Elastic Beanstalk sets the specified configuration options to the requested value in the configuration set for the new environment. These override the values obtained from the solution stack or the configuration template.
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 hasOptionsToRemove()
public List<OptionSpecification> optionsToRemove()
A list of custom user-defined configuration options to remove from the configuration set for this new environment.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasOptionsToRemove() to see if a value was sent in this field.
public String operationsRole()
The Amazon Resource Name (ARN) of an existing IAM role to be used as the environment's operations role. If
specified, Elastic Beanstalk uses the operations role for permissions to downstream services during this call and
during subsequent calls acting on this environment. To specify an operations role, you must have the
iam:PassRole permission for the role. For more information, see Operations roles in the
AWS Elastic Beanstalk Developer Guide.
iam:PassRole permission for the role. For more information, see Operations
roles in the AWS Elastic Beanstalk Developer Guide.public CreateEnvironmentRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateEnvironmentRequest.Builder,CreateEnvironmentRequest>toBuilder in class ElasticBeanstalkRequestpublic static CreateEnvironmentRequest.Builder builder()
public static Class<? extends CreateEnvironmentRequest.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.