Class DescribeEnvironmentHealthResult
- All Implemented Interfaces:
Serializable
,Cloneable
See the example below for a sample response.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Returns potential causes for the reported status.getColor()
Returns the color indicator that tells you information about the health of the environment.The AWS Elastic Beanstalk environment name.Contains the response body with information about the health of the environment.The date and time the information was last refreshed.Returns the health status value of the environment.int
hashCode()
void
setApplicationMetrics
(ApplicationMetrics applicationMetrics) void
setCauses
(Collection<String> causes) Returns potential causes for the reported status.void
Returns the color indicator that tells you information about the health of the environment.void
setEnvironmentName
(String environmentName) The AWS Elastic Beanstalk environment name.void
setHealthStatus
(String healthStatus) Contains the response body with information about the health of the environment.void
setInstancesHealth
(InstanceHealthSummary instancesHealth) void
setRefreshedAt
(Date refreshedAt) The date and time the information was last refreshed.void
setStatus
(EnvironmentHealth status) Returns the health status value of the environment.void
Returns the health status value of the environment.toString()
Returns a string representation of this object; useful for testing and debugging.withApplicationMetrics
(ApplicationMetrics applicationMetrics) withCauses
(String... causes) Returns potential causes for the reported status.withCauses
(Collection<String> causes) Returns potential causes for the reported status.Returns the color indicator that tells you information about the health of the environment.withEnvironmentName
(String environmentName) The AWS Elastic Beanstalk environment name.withHealthStatus
(String healthStatus) Contains the response body with information about the health of the environment.withInstancesHealth
(InstanceHealthSummary instancesHealth) withRefreshedAt
(Date refreshedAt) The date and time the information was last refreshed.withStatus
(EnvironmentHealth status) Returns the health status value of the environment.withStatus
(String status) Returns the health status value of the environment.
-
Constructor Details
-
DescribeEnvironmentHealthResult
public DescribeEnvironmentHealthResult()
-
-
Method Details
-
setEnvironmentName
The AWS Elastic Beanstalk environment name.
- Parameters:
environmentName
- The AWS Elastic Beanstalk environment name.
-
getEnvironmentName
The AWS Elastic Beanstalk environment name.
- Returns:
- The AWS Elastic Beanstalk environment name.
-
withEnvironmentName
The AWS Elastic Beanstalk environment name.
- Parameters:
environmentName
- The AWS Elastic Beanstalk environment name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setHealthStatus
Contains the response body with information about the health of the environment.
- Parameters:
healthStatus
- Contains the response body with information about the health of the environment.
-
getHealthStatus
Contains the response body with information about the health of the environment.
- Returns:
- Contains the response body with information about the health of the environment.
-
withHealthStatus
Contains the response body with information about the health of the environment.
- Parameters:
healthStatus
- Contains the response body with information about the health of the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStatus
Returns the health status value of the environment. For more information, see Health Colors and Statuses.
- Parameters:
status
- Returns the health status value of the environment. For more information, see Health Colors and Statuses.- See Also:
-
getStatus
Returns the health status value of the environment. For more information, see Health Colors and Statuses.
- Returns:
- Returns the health status value of the environment. For more information, see Health Colors and Statuses.
- See Also:
-
withStatus
Returns the health status value of the environment. For more information, see Health Colors and Statuses.
- Parameters:
status
- Returns the health status value of the 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:
-
setStatus
Returns the health status value of the environment. For more information, see Health Colors and Statuses.
- Parameters:
status
- Returns the health status value of the environment. For more information, see Health Colors and Statuses.- See Also:
-
withStatus
Returns the health status value of the environment. For more information, see Health Colors and Statuses.
- Parameters:
status
- Returns the health status value of the 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:
-
setColor
Returns the color indicator that tells you information about the health of the environment. For more information, see Health Colors and Statuses.
- Parameters:
color
- Returns the color indicator that tells you information about the health of the environment. For more information, see Health Colors and Statuses.
-
getColor
Returns the color indicator that tells you information about the health of the environment. For more information, see Health Colors and Statuses.
- Returns:
- Returns the color indicator that tells you information about the health of the environment. For more information, see Health Colors and Statuses.
-
withColor
Returns the color indicator that tells you information about the health of the environment. For more information, see Health Colors and Statuses.
- Parameters:
color
- Returns the color indicator that tells you information about the health of the environment. For more information, see Health Colors and Statuses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getCauses
Returns potential causes for the reported status.
- Returns:
- Returns potential causes for the reported status.
-
setCauses
Returns potential causes for the reported status.
- Parameters:
causes
- Returns potential causes for the reported status.
-
withCauses
Returns potential causes for the reported status.
NOTE: This method appends the values to the existing list (if any). Use
setCauses(java.util.Collection)
orwithCauses(java.util.Collection)
if you want to override the existing values.- Parameters:
causes
- Returns potential causes for the reported status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withCauses
Returns potential causes for the reported status.
- Parameters:
causes
- Returns potential causes for the reported status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setApplicationMetrics
- Parameters:
applicationMetrics
-
-
getApplicationMetrics
- Returns:
-
withApplicationMetrics
public DescribeEnvironmentHealthResult withApplicationMetrics(ApplicationMetrics applicationMetrics) - Parameters:
applicationMetrics
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setInstancesHealth
- Parameters:
instancesHealth
-
-
getInstancesHealth
- Returns:
-
withInstancesHealth
- Parameters:
instancesHealth
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRefreshedAt
The date and time the information was last refreshed.
- Parameters:
refreshedAt
- The date and time the information was last refreshed.
-
getRefreshedAt
The date and time the information was last refreshed.
- Returns:
- The date and time the information was last refreshed.
-
withRefreshedAt
The date and time the information was last refreshed.
- Parameters:
refreshedAt
- The date and time the information was last refreshed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-