public static interface AffectedEntity.Builder extends CopyableBuilder<AffectedEntity.Builder,AffectedEntity>
Modifier and Type | Method and Description |
---|---|
AffectedEntity.Builder |
awsAccountId(String awsAccountId)
The 12-digit AWS account number that contains the affected entity.
|
AffectedEntity.Builder |
entityArn(String entityArn)
The unique identifier for the entity.
|
AffectedEntity.Builder |
entityValue(String entityValue)
The ID of the affected entity.
|
AffectedEntity.Builder |
eventArn(String eventArn)
The unique identifier for the event.
|
AffectedEntity.Builder |
lastUpdatedTime(Instant lastUpdatedTime)
The most recent time that the entity was updated.
|
AffectedEntity.Builder |
statusCode(EntityStatusCode statusCode)
The most recent status of the entity affected by the event.
|
AffectedEntity.Builder |
statusCode(String statusCode)
The most recent status of the entity affected by the event.
|
AffectedEntity.Builder |
tags(Map<String,String> tags)
A map of entity tags attached to the affected entity.
|
copy
applyMutation, build
AffectedEntity.Builder entityArn(String entityArn)
The unique identifier for the entity. Format:
arn:aws:health:entity-region:aws-account:entity/entity-id
. Example:
arn:aws:health:us-east-1:111222333444:entity/AVh5GGT7ul1arKr1sE1K
entityArn
- The unique identifier for the entity. Format:
arn:aws:health:entity-region:aws-account:entity/entity-id
. Example:
arn:aws:health:us-east-1:111222333444:entity/AVh5GGT7ul1arKr1sE1K
AffectedEntity.Builder eventArn(String eventArn)
The unique identifier for the event. Format:
arn:aws:health:event-region::event/EVENT_TYPE_PLUS_ID
. Example:
arn:aws:health:us-east-1::event/AWS_EC2_MAINTENANCE_5331
eventArn
- The unique identifier for the event. Format:
arn:aws:health:event-region::event/EVENT_TYPE_PLUS_ID
. Example:
arn:aws:health:us-east-1::event/AWS_EC2_MAINTENANCE_5331
AffectedEntity.Builder entityValue(String entityValue)
The ID of the affected entity.
entityValue
- The ID of the affected entity.AffectedEntity.Builder awsAccountId(String awsAccountId)
The 12-digit AWS account number that contains the affected entity.
awsAccountId
- The 12-digit AWS account number that contains the affected entity.AffectedEntity.Builder lastUpdatedTime(Instant lastUpdatedTime)
The most recent time that the entity was updated.
lastUpdatedTime
- The most recent time that the entity was updated.AffectedEntity.Builder statusCode(String statusCode)
The most recent status of the entity affected by the event. The possible values are IMPAIRED
,
UNIMPAIRED
, and UNKNOWN
.
statusCode
- The most recent status of the entity affected by the event. The possible values are
IMPAIRED
, UNIMPAIRED
, and UNKNOWN
.EntityStatusCode
,
EntityStatusCode
AffectedEntity.Builder statusCode(EntityStatusCode statusCode)
The most recent status of the entity affected by the event. The possible values are IMPAIRED
,
UNIMPAIRED
, and UNKNOWN
.
statusCode
- The most recent status of the entity affected by the event. The possible values are
IMPAIRED
, UNIMPAIRED
, and UNKNOWN
.EntityStatusCode
,
EntityStatusCode
AffectedEntity.Builder tags(Map<String,String> tags)
A map of entity tags attached to the affected entity.
tags
- A map of entity tags attached to the affected entity.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.