Interface EnvironmentDescription.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<EnvironmentDescription.Builder,EnvironmentDescription>,SdkBuilder<EnvironmentDescription.Builder,EnvironmentDescription>,SdkPojo
- Enclosing class:
- EnvironmentDescription
public static interface EnvironmentDescription.Builder extends SdkPojo, CopyableBuilder<EnvironmentDescription.Builder,EnvironmentDescription>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description EnvironmentDescription.BuilderabortableOperationInProgress(Boolean abortableOperationInProgress)Indicates if there is an in-progress environment configuration update or application version deployment that you can cancel.EnvironmentDescription.BuilderapplicationName(String applicationName)The name of the application associated with this environment.EnvironmentDescription.Buildercname(String cname)The URL to the CNAME for this environment.EnvironmentDescription.BuilderdateCreated(Instant dateCreated)The creation date for this environment.EnvironmentDescription.BuilderdateUpdated(Instant dateUpdated)The last modified date for this environment.EnvironmentDescription.Builderdescription(String description)Describes this environment.EnvironmentDescription.BuilderendpointURL(String endpointURL)For load-balanced, autoscaling environments, the URL to the LoadBalancer.EnvironmentDescription.BuilderenvironmentArn(String environmentArn)The environment's Amazon Resource Name (ARN), which can be used in other API requests that require an ARN.EnvironmentDescription.BuilderenvironmentId(String environmentId)The ID of this environment.EnvironmentDescription.BuilderenvironmentLinks(Collection<EnvironmentLink> environmentLinks)A list of links to other environments in the same group.EnvironmentDescription.BuilderenvironmentLinks(Consumer<EnvironmentLink.Builder>... environmentLinks)A list of links to other environments in the same group.EnvironmentDescription.BuilderenvironmentLinks(EnvironmentLink... environmentLinks)A list of links to other environments in the same group.EnvironmentDescription.BuilderenvironmentName(String environmentName)The name of this environment.EnvironmentDescription.Builderhealth(String health)Describes the health status of the environment.EnvironmentDescription.Builderhealth(EnvironmentHealth health)Describes the health status of the environment.EnvironmentDescription.BuilderhealthStatus(String healthStatus)Returns the health status of the application running in your environment.EnvironmentDescription.BuilderhealthStatus(EnvironmentHealthStatus healthStatus)Returns the health status of the application running in your environment.EnvironmentDescription.BuilderoperationsRole(String operationsRole)The Amazon Resource Name (ARN) of the environment's operations role.EnvironmentDescription.BuilderplatformArn(String platformArn)The ARN of the platform version.default EnvironmentDescription.Builderresources(Consumer<EnvironmentResourcesDescription.Builder> resources)The description of the AWS resources used by this environment.EnvironmentDescription.Builderresources(EnvironmentResourcesDescription resources)The description of the AWS resources used by this environment.EnvironmentDescription.BuildersolutionStackName(String solutionStackName)The name of theSolutionStackdeployed with this environment.EnvironmentDescription.Builderstatus(String status)The current operational status of the environment:EnvironmentDescription.Builderstatus(EnvironmentStatus status)The current operational status of the environment:EnvironmentDescription.BuildertemplateName(String templateName)The name of the configuration template used to originally launch this environment.default EnvironmentDescription.Buildertier(Consumer<EnvironmentTier.Builder> tier)Describes the current tier of this environment.EnvironmentDescription.Buildertier(EnvironmentTier tier)Describes the current tier of this environment.EnvironmentDescription.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.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
environmentName
EnvironmentDescription.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
EnvironmentDescription.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
EnvironmentDescription.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
EnvironmentDescription.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
EnvironmentDescription.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
EnvironmentDescription.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
EnvironmentDescription.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
EnvironmentDescription.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
EnvironmentDescription.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
EnvironmentDescription.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
EnvironmentDescription.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
EnvironmentDescription.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
EnvironmentDescription.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
EnvironmentDescription.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
EnvironmentDescription.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
EnvironmentDescription.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
EnvironmentDescription.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
EnvironmentDescription.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
EnvironmentDescription.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
EnvironmentDescription.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 EnvironmentDescription.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
EnvironmentDescription.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 EnvironmentDescription.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
EnvironmentDescription.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
EnvironmentDescription.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
EnvironmentDescription.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
EnvironmentDescription.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
EnvironmentDescription.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.
-
-