/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.elasticbeanstalk.model; import java.io.Serializable; import javax.annotation.Generated; /** *

* Describes the properties of an environment. *

* * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class EnvironmentDescription implements Serializable, Cloneable { /** *

* The name of this environment. *

*/ private String environmentName; /** *

* The ID of this environment. *

*/ private String environmentId; /** *

* The name of the application associated with this environment. *

*/ private String applicationName; /** *

* The application version deployed in this environment. *

*/ private String versionLabel; /** *

* The name of the SolutionStack deployed with this environment. *

*/ private String solutionStackName; /** *

* The ARN of the platform version. *

*/ private String platformArn; /** *

* The name of the configuration template used to originally launch this environment. *

*/ private String templateName; /** *

* Describes this environment. *

*/ private String description; /** *

* For load-balanced, autoscaling environments, the URL to the LoadBalancer. For single-instance environments, the * IP address of the instance. *

*/ private String endpointURL; /** *

* The URL to the CNAME for this environment. *

*/ private String cNAME; /** *

* The creation date for this environment. *

*/ private java.util.Date dateCreated; /** *

* The last modified date for this environment. *

*/ private java.util.Date dateUpdated; /** *

* The current operational status of the environment: *

* */ private String status; /** *

* 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. *

*/ private Boolean abortableOperationInProgress; /** *

* Describes the health status of the environment. AWS Elastic Beanstalk indicates the failure levels for a running * environment: *

* *

* Default: Grey *

*/ private String health; /** *

* Returns the health status of the application running in your environment. For more information, see Health Colors and * Statuses. *

*/ private String healthStatus; /** *

* The description of the AWS resources used by this environment. *

*/ private EnvironmentResourcesDescription resources; /** *

* Describes the current tier of this environment. *

*/ private EnvironmentTier tier; /** *

* A list of links to other environments in the same group. *

*/ private com.amazonaws.internal.SdkInternalList environmentLinks; /** *

* The environment's Amazon Resource Name (ARN), which can be used in other API requests that require an ARN. *

*/ private String environmentArn; /** *

* The Amazon Resource Name (ARN) of the environment's operations role. For more information, see Operations roles in the * AWS Elastic Beanstalk Developer Guide. *

*/ private String operationsRole; /** *

* The name of this environment. *

* * @param environmentName * The name of this environment. */ public void setEnvironmentName(String environmentName) { this.environmentName = environmentName; } /** *

* The name of this environment. *

* * @return The name of this environment. */ public String getEnvironmentName() { return this.environmentName; } /** *

* The name of this environment. *

* * @param environmentName * The name of this environment. * @return Returns a reference to this object so that method calls can be chained together. */ public EnvironmentDescription withEnvironmentName(String environmentName) { setEnvironmentName(environmentName); return this; } /** *

* The ID of this environment. *

* * @param environmentId * The ID of this environment. */ public void setEnvironmentId(String environmentId) { this.environmentId = environmentId; } /** *

* The ID of this environment. *

* * @return The ID of this environment. */ public String getEnvironmentId() { return this.environmentId; } /** *

* The ID of this environment. *

* * @param environmentId * The ID of this environment. * @return Returns a reference to this object so that method calls can be chained together. */ public EnvironmentDescription withEnvironmentId(String environmentId) { setEnvironmentId(environmentId); return this; } /** *

* The name of the application associated with this environment. *

* * @param applicationName * The name of the application associated with this environment. */ public void setApplicationName(String applicationName) { this.applicationName = applicationName; } /** *

* The name of the application associated with this environment. *

* * @return The name of the application associated with this environment. */ public String getApplicationName() { return this.applicationName; } /** *

* The name of the application associated with this environment. *

* * @param applicationName * The name of the application associated with this environment. * @return Returns a reference to this object so that method calls can be chained together. */ public EnvironmentDescription withApplicationName(String applicationName) { setApplicationName(applicationName); return this; } /** *

* The application version deployed in this environment. *

* * @param versionLabel * The application version deployed in this environment. */ public void setVersionLabel(String versionLabel) { this.versionLabel = versionLabel; } /** *

* The application version deployed in this environment. *

* * @return The application version deployed in this environment. */ public String getVersionLabel() { return this.versionLabel; } /** *

* The application version deployed in this environment. *

* * @param versionLabel * The application version deployed in this environment. * @return Returns a reference to this object so that method calls can be chained together. */ public EnvironmentDescription withVersionLabel(String versionLabel) { setVersionLabel(versionLabel); return this; } /** *

* The name of the SolutionStack deployed with this environment. *

* * @param solutionStackName * The name of the SolutionStack deployed with this environment. */ public void setSolutionStackName(String solutionStackName) { this.solutionStackName = solutionStackName; } /** *

* The name of the SolutionStack deployed with this environment. *

* * @return The name of the SolutionStack deployed with this environment. */ public String getSolutionStackName() { return this.solutionStackName; } /** *

* The name of the SolutionStack deployed with this environment. *

* * @param solutionStackName * The name of the SolutionStack deployed with this environment. * @return Returns a reference to this object so that method calls can be chained together. */ public EnvironmentDescription withSolutionStackName(String solutionStackName) { setSolutionStackName(solutionStackName); return this; } /** *

* The ARN of the platform version. *

* * @param platformArn * The ARN of the platform version. */ public void setPlatformArn(String platformArn) { this.platformArn = platformArn; } /** *

* The ARN of the platform version. *

* * @return The ARN of the platform version. */ public String getPlatformArn() { return this.platformArn; } /** *

* The ARN of the platform version. *

* * @param platformArn * The ARN of the platform version. * @return Returns a reference to this object so that method calls can be chained together. */ public EnvironmentDescription withPlatformArn(String platformArn) { setPlatformArn(platformArn); return this; } /** *

* The name of the configuration template used to originally launch this environment. *

* * @param templateName * The name of the configuration template used to originally launch this environment. */ public void setTemplateName(String templateName) { this.templateName = templateName; } /** *

* The name of the configuration template used to originally launch this environment. *

* * @return The name of the configuration template used to originally launch this environment. */ public String getTemplateName() { return this.templateName; } /** *

* The name of the configuration template used to originally launch this environment. *

* * @param templateName * The name of the configuration template used to originally launch this environment. * @return Returns a reference to this object so that method calls can be chained together. */ public EnvironmentDescription withTemplateName(String templateName) { setTemplateName(templateName); return this; } /** *

* Describes this environment. *

* * @param description * Describes this environment. */ public void setDescription(String description) { this.description = description; } /** *

* Describes this environment. *

* * @return Describes this environment. */ public String getDescription() { return this.description; } /** *

* Describes this environment. *

* * @param description * Describes this environment. * @return Returns a reference to this object so that method calls can be chained together. */ public EnvironmentDescription withDescription(String description) { setDescription(description); return this; } /** *

* For load-balanced, autoscaling environments, the URL to the LoadBalancer. For single-instance environments, the * IP address of the instance. *

* * @param endpointURL * For load-balanced, autoscaling environments, the URL to the LoadBalancer. For single-instance * environments, the IP address of the instance. */ public void setEndpointURL(String endpointURL) { this.endpointURL = endpointURL; } /** *

* For load-balanced, autoscaling environments, the URL to the LoadBalancer. For single-instance environments, the * IP address of the instance. *

* * @return For load-balanced, autoscaling environments, the URL to the LoadBalancer. For single-instance * environments, the IP address of the instance. */ public String getEndpointURL() { return this.endpointURL; } /** *

* For load-balanced, autoscaling environments, the URL to the LoadBalancer. For single-instance environments, the * IP address of the instance. *

* * @param endpointURL * For load-balanced, autoscaling environments, the URL to the LoadBalancer. For single-instance * environments, the IP address of the instance. * @return Returns a reference to this object so that method calls can be chained together. */ public EnvironmentDescription withEndpointURL(String endpointURL) { setEndpointURL(endpointURL); return this; } /** *

* The URL to the CNAME for this environment. *

* * @param cNAME * The URL to the CNAME for this environment. */ public void setCNAME(String cNAME) { this.cNAME = cNAME; } /** *

* The URL to the CNAME for this environment. *

* * @return The URL to the CNAME for this environment. */ public String getCNAME() { return this.cNAME; } /** *

* The URL to the CNAME for this environment. *

* * @param cNAME * The URL to the CNAME for this environment. * @return Returns a reference to this object so that method calls can be chained together. */ public EnvironmentDescription withCNAME(String cNAME) { setCNAME(cNAME); return this; } /** *

* The creation date for this environment. *

* * @param dateCreated * The creation date for this environment. */ public void setDateCreated(java.util.Date dateCreated) { this.dateCreated = dateCreated; } /** *

* The creation date for this environment. *

* * @return The creation date for this environment. */ public java.util.Date getDateCreated() { return this.dateCreated; } /** *

* The creation date for this environment. *

* * @param dateCreated * The creation date for this environment. * @return Returns a reference to this object so that method calls can be chained together. */ public EnvironmentDescription withDateCreated(java.util.Date dateCreated) { setDateCreated(dateCreated); return this; } /** *

* The last modified date for this environment. *

* * @param dateUpdated * The last modified date for this environment. */ public void setDateUpdated(java.util.Date dateUpdated) { this.dateUpdated = dateUpdated; } /** *

* The last modified date for this environment. *

* * @return The last modified date for this environment. */ public java.util.Date getDateUpdated() { return this.dateUpdated; } /** *

* The last modified date for this environment. *

* * @param dateUpdated * The last modified date for this environment. * @return Returns a reference to this object so that method calls can be chained together. */ public EnvironmentDescription withDateUpdated(java.util.Date dateUpdated) { setDateUpdated(dateUpdated); return this; } /** *

* The current operational status of the environment: *

* * * @param status * The current operational status of the environment:

*