CopyableBuilder<SingleInstanceHealth.Builder,SingleInstanceHealth>
, SdkBuilder<SingleInstanceHealth.Builder,SingleInstanceHealth>
public static interface SingleInstanceHealth.Builder extends CopyableBuilder<SingleInstanceHealth.Builder,SingleInstanceHealth>
Modifier and Type | Method | Description |
---|---|---|
SingleInstanceHealth.Builder |
applicationMetrics(ApplicationMetrics applicationMetrics) |
Request metrics from your application.
|
SingleInstanceHealth.Builder |
availabilityZone(String availabilityZone) |
The availability zone in which the instance runs.
|
SingleInstanceHealth.Builder |
causes(String... causes) |
Represents the causes, which provide more information about the current health status.
|
SingleInstanceHealth.Builder |
causes(Collection<String> causes) |
Represents the causes, which provide more information about the current health status.
|
SingleInstanceHealth.Builder |
color(String color) |
Represents the color indicator that gives you information about the health of the EC2 instance.
|
SingleInstanceHealth.Builder |
deployment(Deployment deployment) |
Information about the most recent deployment to an instance.
|
SingleInstanceHealth.Builder |
healthStatus(String healthStatus) |
Returns the health status of the specified instance.
|
SingleInstanceHealth.Builder |
instanceId(String instanceId) |
The ID of the Amazon EC2 instance.
|
SingleInstanceHealth.Builder |
instanceType(String instanceType) |
The instance's type.
|
SingleInstanceHealth.Builder |
launchedAt(Date launchedAt) |
The time at which the EC2 instance was launched.
|
SingleInstanceHealth.Builder |
system(SystemStatus system) |
Operating system metrics from the instance.
|
copy
apply, build
SingleInstanceHealth.Builder instanceId(String instanceId)
The ID of the Amazon EC2 instance.
instanceId
- The ID of the Amazon EC2 instance.SingleInstanceHealth.Builder healthStatus(String healthStatus)
Returns the health status of the specified instance. For more information, see Health Colors and Statuses.
healthStatus
- Returns the health status of the specified instance. For more information, see Health Colors
and Statuses.SingleInstanceHealth.Builder color(String color)
Represents the color indicator that gives you information about the health of the EC2 instance. For more information, see Health Colors and Statuses.
color
- Represents the color indicator that gives you information about the health of the EC2 instance. For
more information, see Health Colors
and Statuses.SingleInstanceHealth.Builder causes(Collection<String> causes)
Represents the causes, which provide more information about the current health status.
causes
- Represents the causes, which provide more information about the current health status.SingleInstanceHealth.Builder causes(String... causes)
Represents the causes, which provide more information about the current health status.
NOTE: This method appends the values to the existing list (if any). Use
#setCauses(java.util.Collection)
or #withCauses(java.util.Collection)
if you want to override
the existing values.
causes
- Represents the causes, which provide more information about the current health status.SingleInstanceHealth.Builder launchedAt(Date launchedAt)
The time at which the EC2 instance was launched.
launchedAt
- The time at which the EC2 instance was launched.SingleInstanceHealth.Builder applicationMetrics(ApplicationMetrics applicationMetrics)
Request metrics from your application.
applicationMetrics
- Request metrics from your application.SingleInstanceHealth.Builder system(SystemStatus system)
Operating system metrics from the instance.
system
- Operating system metrics from the instance.SingleInstanceHealth.Builder deployment(Deployment deployment)
Information about the most recent deployment to an instance.
deployment
- Information about the most recent deployment to an instance.SingleInstanceHealth.Builder availabilityZone(String availabilityZone)
The availability zone in which the instance runs.
availabilityZone
- The availability zone in which the instance runs.SingleInstanceHealth.Builder instanceType(String instanceType)
The instance's type.
instanceType
- The instance's type.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.