Interface CreateEnvironmentResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateEnvironmentResponse.Builder,CreateEnvironmentResponse>,ElasticBeanstalkResponse.Builder,SdkBuilder<CreateEnvironmentResponse.Builder,CreateEnvironmentResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateEnvironmentResponse
public static interface CreateEnvironmentResponse.Builder extends ElasticBeanstalkResponse.Builder, SdkPojo, CopyableBuilder<CreateEnvironmentResponse.Builder,CreateEnvironmentResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateEnvironmentResponse.BuilderabortableOperationInProgress(Boolean abortableOperationInProgress)Indicates if there is an in-progress environment configuration update or application version deployment that you can cancel.CreateEnvironmentResponse.BuilderapplicationName(String applicationName)The name of the application associated with this environment.CreateEnvironmentResponse.Buildercname(String cname)The URL to the CNAME for this environment.CreateEnvironmentResponse.BuilderdateCreated(Instant dateCreated)The creation date for this environment.CreateEnvironmentResponse.BuilderdateUpdated(Instant dateUpdated)The last modified date for this environment.CreateEnvironmentResponse.Builderdescription(String description)Describes this environment.CreateEnvironmentResponse.BuilderendpointURL(String endpointURL)For load-balanced, autoscaling environments, the URL to the LoadBalancer.CreateEnvironmentResponse.BuilderenvironmentArn(String environmentArn)The environment's Amazon Resource Name (ARN), which can be used in other API requests that require an ARN.CreateEnvironmentResponse.BuilderenvironmentId(String environmentId)The ID of this environment.CreateEnvironmentResponse.BuilderenvironmentLinks(Collection<EnvironmentLink> environmentLinks)A list of links to other environments in the same group.CreateEnvironmentResponse.BuilderenvironmentLinks(Consumer<EnvironmentLink.Builder>... environmentLinks)A list of links to other environments in the same group.CreateEnvironmentResponse.BuilderenvironmentLinks(EnvironmentLink... environmentLinks)A list of links to other environments in the same group.CreateEnvironmentResponse.BuilderenvironmentName(String environmentName)The name of this environment.CreateEnvironmentResponse.Builderhealth(String health)Describes the health status of the environment.CreateEnvironmentResponse.Builderhealth(EnvironmentHealth health)Describes the health status of the environment.CreateEnvironmentResponse.BuilderhealthStatus(String healthStatus)Returns the health status of the application running in your environment.CreateEnvironmentResponse.BuilderhealthStatus(EnvironmentHealthStatus healthStatus)Returns the health status of the application running in your environment.CreateEnvironmentResponse.BuilderoperationsRole(String operationsRole)The Amazon Resource Name (ARN) of the environment's operations role.CreateEnvironmentResponse.BuilderplatformArn(String platformArn)The ARN of the platform version.default CreateEnvironmentResponse.Builderresources(Consumer<EnvironmentResourcesDescription.Builder> resources)The description of the AWS resources used by this environment.CreateEnvironmentResponse.Builderresources(EnvironmentResourcesDescription resources)The description of the AWS resources used by this environment.CreateEnvironmentResponse.BuildersolutionStackName(String solutionStackName)The name of theSolutionStackdeployed with this environment.CreateEnvironmentResponse.Builderstatus(String status)The current operational status of the environment:CreateEnvironmentResponse.Builderstatus(EnvironmentStatus status)The current operational status of the environment:CreateEnvironmentResponse.BuildertemplateName(String templateName)The name of the configuration template used to originally launch this environment.default CreateEnvironmentResponse.Buildertier(Consumer<EnvironmentTier.Builder> tier)Describes the current tier of this environment.CreateEnvironmentResponse.Buildertier(EnvironmentTier tier)Describes the current tier of this environment.CreateEnvironmentResponse.BuilderversionLabel(String versionLabel)The application version deployed in this environment.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.elasticbeanstalk.model.ElasticBeanstalkResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
environmentName
CreateEnvironmentResponse.Builder environmentName(String environmentName)
The name of this environment.
- Parameters:
environmentName- The name of this environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environmentId
CreateEnvironmentResponse.Builder environmentId(String environmentId)
The ID of this environment.
- Parameters:
environmentId- The ID of this environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applicationName
CreateEnvironmentResponse.Builder applicationName(String applicationName)
The name of the application associated with this environment.
- Parameters:
applicationName- The name of the application associated with this environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versionLabel
CreateEnvironmentResponse.Builder versionLabel(String versionLabel)
The application version deployed in this environment.
- Parameters:
versionLabel- The application version deployed in this environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
solutionStackName
CreateEnvironmentResponse.Builder solutionStackName(String solutionStackName)
The name of the
SolutionStackdeployed with this environment.- Parameters:
solutionStackName- The name of theSolutionStackdeployed with this environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
platformArn
CreateEnvironmentResponse.Builder platformArn(String platformArn)
The ARN of the platform version.
- Parameters:
platformArn- The ARN of the platform version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateName
CreateEnvironmentResponse.Builder templateName(String templateName)
The name of the configuration template used to originally launch this environment.
- Parameters:
templateName- The name of the configuration template used to originally launch this environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
CreateEnvironmentResponse.Builder description(String description)
Describes this environment.
- Parameters:
description- Describes this environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointURL
CreateEnvironmentResponse.Builder endpointURL(String endpointURL)
For load-balanced, autoscaling environments, the URL to the LoadBalancer. For single-instance environments, the IP address of the instance.
- Parameters:
endpointURL- For load-balanced, autoscaling environments, the URL to the LoadBalancer. For single-instance environments, the IP address of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cname
CreateEnvironmentResponse.Builder cname(String cname)
The URL to the CNAME for this environment.
- Parameters:
cname- The URL to the CNAME for this environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dateCreated
CreateEnvironmentResponse.Builder dateCreated(Instant dateCreated)
The creation date for this environment.
- Parameters:
dateCreated- The creation date for this environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dateUpdated
CreateEnvironmentResponse.Builder dateUpdated(Instant dateUpdated)
The last modified date for this environment.
- Parameters:
dateUpdated- The last modified date for this environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
CreateEnvironmentResponse.Builder status(String status)
The current operational status of the environment:
-
Launching: Environment is in the process of initial deployment. -
Updating: Environment is in the process of updating its configuration settings or application version. -
Ready: Environment is available to have an action performed on it, such as update or terminate. -
Terminating: Environment is in the shut-down process. -
Terminated: Environment is not running.
- Parameters:
status- The current operational status of the environment:-
Launching: Environment is in the process of initial deployment. -
Updating: Environment is in the process of updating its configuration settings or application version. -
Ready: Environment is available to have an action performed on it, such as update or terminate. -
Terminating: Environment is in the shut-down process. -
Terminated: Environment is not running.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EnvironmentStatus,EnvironmentStatus
-
-
status
CreateEnvironmentResponse.Builder status(EnvironmentStatus status)
The current operational status of the environment:
-
Launching: Environment is in the process of initial deployment. -
Updating: Environment is in the process of updating its configuration settings or application version. -
Ready: Environment is available to have an action performed on it, such as update or terminate. -
Terminating: Environment is in the shut-down process. -
Terminated: Environment is not running.
- Parameters:
status- The current operational status of the environment:-
Launching: Environment is in the process of initial deployment. -
Updating: Environment is in the process of updating its configuration settings or application version. -
Ready: Environment is available to have an action performed on it, such as update or terminate. -
Terminating: Environment is in the shut-down process. -
Terminated: Environment is not running.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EnvironmentStatus,EnvironmentStatus
-
-
abortableOperationInProgress
CreateEnvironmentResponse.Builder abortableOperationInProgress(Boolean abortableOperationInProgress)
Indicates if there is an in-progress environment configuration update or application version deployment that you can cancel.
true:There is an update in progress.false:There are no updates currently in progress.- Parameters:
abortableOperationInProgress- Indicates if there is an in-progress environment configuration update or application version deployment that you can cancel.true:There is an update in progress.false:There are no updates currently in progress.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
health
CreateEnvironmentResponse.Builder health(String health)
Describes the health status of the environment. AWS Elastic Beanstalk indicates the failure levels for a running environment:
-
Red: Indicates the environment is not responsive. Occurs when three or more consecutive failures occur for an environment. -
Yellow: Indicates that something is wrong. Occurs when two consecutive failures occur for an environment. -
Green: Indicates the environment is healthy and fully functional. -
Grey: Default health for a new environment. The environment is not fully launched and health checks have not started or health checks are suspended during anUpdateEnvironmentorRestartEnvironmentrequest.
Default:
Grey- Parameters:
health- Describes the health status of the environment. AWS Elastic Beanstalk indicates the failure levels for a running environment:-
Red: Indicates the environment is not responsive. Occurs when three or more consecutive failures occur for an environment. -
Yellow: Indicates that something is wrong. Occurs when two consecutive failures occur for an environment. -
Green: Indicates the environment is healthy and fully functional. -
Grey: Default health for a new environment. The environment is not fully launched and health checks have not started or health checks are suspended during anUpdateEnvironmentorRestartEnvironmentrequest.
Default:
Grey-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EnvironmentHealth,EnvironmentHealth
-
-
health
CreateEnvironmentResponse.Builder health(EnvironmentHealth health)
Describes the health status of the environment. AWS Elastic Beanstalk indicates the failure levels for a running environment:
-
Red: Indicates the environment is not responsive. Occurs when three or more consecutive failures occur for an environment. -
Yellow: Indicates that something is wrong. Occurs when two consecutive failures occur for an environment. -
Green: Indicates the environment is healthy and fully functional. -
Grey: Default health for a new environment. The environment is not fully launched and health checks have not started or health checks are suspended during anUpdateEnvironmentorRestartEnvironmentrequest.
Default:
Grey- Parameters:
health- Describes the health status of the environment. AWS Elastic Beanstalk indicates the failure levels for a running environment:-
Red: Indicates the environment is not responsive. Occurs when three or more consecutive failures occur for an environment. -
Yellow: Indicates that something is wrong. Occurs when two consecutive failures occur for an environment. -
Green: Indicates the environment is healthy and fully functional. -
Grey: Default health for a new environment. The environment is not fully launched and health checks have not started or health checks are suspended during anUpdateEnvironmentorRestartEnvironmentrequest.
Default:
Grey-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EnvironmentHealth,EnvironmentHealth
-
-
healthStatus
CreateEnvironmentResponse.Builder healthStatus(String healthStatus)
Returns the health status of the application running in your environment. For more information, see Health Colors and Statuses.
- Parameters:
healthStatus- Returns the health status of the application running in your environment. For more information, see Health Colors and Statuses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EnvironmentHealthStatus,EnvironmentHealthStatus
-
healthStatus
CreateEnvironmentResponse.Builder healthStatus(EnvironmentHealthStatus healthStatus)
Returns the health status of the application running in your environment. For more information, see Health Colors and Statuses.
- Parameters:
healthStatus- Returns the health status of the application running in your environment. For more information, see Health Colors and Statuses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EnvironmentHealthStatus,EnvironmentHealthStatus
-
resources
CreateEnvironmentResponse.Builder resources(EnvironmentResourcesDescription resources)
The description of the AWS resources used by this environment.
- Parameters:
resources- The description of the AWS resources used by this environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
default CreateEnvironmentResponse.Builder resources(Consumer<EnvironmentResourcesDescription.Builder> resources)
The description of the AWS resources used by this environment.
This is a convenience method that creates an instance of theEnvironmentResourcesDescription.Builderavoiding the need to create one manually viaEnvironmentResourcesDescription.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresources(EnvironmentResourcesDescription).- Parameters:
resources- a consumer that will call methods onEnvironmentResourcesDescription.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
resources(EnvironmentResourcesDescription)
-
tier
CreateEnvironmentResponse.Builder tier(EnvironmentTier tier)
Describes the current tier of this environment.
- Parameters:
tier- Describes the current tier of this environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tier
default CreateEnvironmentResponse.Builder tier(Consumer<EnvironmentTier.Builder> tier)
Describes the current tier of this environment.
This is a convenience method that creates an instance of theEnvironmentTier.Builderavoiding the need to create one manually viaEnvironmentTier.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totier(EnvironmentTier).- Parameters:
tier- a consumer that will call methods onEnvironmentTier.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
tier(EnvironmentTier)
-
environmentLinks
CreateEnvironmentResponse.Builder environmentLinks(Collection<EnvironmentLink> environmentLinks)
A list of links to other environments in the same group.
- Parameters:
environmentLinks- A list of links to other environments in the same group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environmentLinks
CreateEnvironmentResponse.Builder environmentLinks(EnvironmentLink... environmentLinks)
A list of links to other environments in the same group.
- Parameters:
environmentLinks- A list of links to other environments in the same group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environmentLinks
CreateEnvironmentResponse.Builder environmentLinks(Consumer<EnvironmentLink.Builder>... environmentLinks)
A list of links to other environments in the same group.
This is a convenience method that creates an instance of theEnvironmentLink.Builderavoiding the need to create one manually viaEnvironmentLink.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#environmentLinks(List.) - Parameters:
environmentLinks- a consumer that will call methods onEnvironmentLink.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#environmentLinks(java.util.Collection)
-
environmentArn
CreateEnvironmentResponse.Builder environmentArn(String environmentArn)
The environment's Amazon Resource Name (ARN), which can be used in other API requests that require an ARN.
- Parameters:
environmentArn- The environment's Amazon Resource Name (ARN), which can be used in other API requests that require an ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operationsRole
CreateEnvironmentResponse.Builder operationsRole(String operationsRole)
The Amazon Resource Name (ARN) of the environment's operations role. For more information, see Operations roles in the AWS Elastic Beanstalk Developer Guide.
- Parameters:
operationsRole- The Amazon Resource Name (ARN) of the environment's operations role. For more information, see Operations roles in the AWS Elastic Beanstalk Developer Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-