Interface AffectedEntity.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AffectedEntity.Builder,
,AffectedEntity> SdkBuilder<AffectedEntity.Builder,
,AffectedEntity> SdkPojo
- Enclosing class:
AffectedEntity
-
Method Summary
Modifier and TypeMethodDescriptionawsAccountId
(String awsAccountId) The 12-digit Amazon Web Services account number that contains the affected entity.The unique identifier for the entity.The URL of the affected entity.entityValue
(String entityValue) The ID of the affected entity.The unique identifier for the event.lastUpdatedTime
(Instant lastUpdatedTime) The most recent time that the entity was updated.statusCode
(String statusCodeValue) The most recent status of the entity affected by the event.statusCode
(EntityStatusCode statusCodeValue) The most recent status of the entity affected by the event.A map of entity tags attached to the affected entity.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, sdkFields
-
Method Details
-
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
- Parameters:
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
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventArn
The unique identifier for the event. The event ARN has the
arn:aws:health:event-region::event/SERVICE/EVENT_TYPE_CODE/EVENT_TYPE_PLUS_ID
format.For example, an event ARN might look like the following:
arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456
- Parameters:
eventArn
- The unique identifier for the event. The event ARN has thearn:aws:health:event-region::event/SERVICE/EVENT_TYPE_CODE/EVENT_TYPE_PLUS_ID
format.For example, an event ARN might look like the following:
arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entityValue
The ID of the affected entity.
- Parameters:
entityValue
- The ID of the affected entity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entityUrl
The URL of the affected entity.
- Parameters:
entityUrl
- The URL of the affected entity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsAccountId
The 12-digit Amazon Web Services account number that contains the affected entity.
- Parameters:
awsAccountId
- The 12-digit Amazon Web Services account number that contains the affected entity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedTime
The most recent time that the entity was updated.
- Parameters:
lastUpdatedTime
- The most recent time that the entity was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusCode
The most recent status of the entity affected by the event. The possible values are
IMPAIRED
,UNIMPAIRED
, andUNKNOWN
.- Parameters:
statusCodeValue
- The most recent status of the entity affected by the event. The possible values areIMPAIRED
,UNIMPAIRED
, andUNKNOWN
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusCode
The most recent status of the entity affected by the event. The possible values are
IMPAIRED
,UNIMPAIRED
, andUNKNOWN
.- Parameters:
statusCodeValue
- The most recent status of the entity affected by the event. The possible values areIMPAIRED
,UNIMPAIRED
, andUNKNOWN
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
A map of entity tags attached to the affected entity.
Currently, the
tags
property isn't supported.- Parameters:
tags
- A map of entity tags attached to the affected entity.Currently, the
tags
property isn't supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-