Interface AffectedEntity.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AffectedEntity.Builder,AffectedEntity>,SdkBuilder<AffectedEntity.Builder,AffectedEntity>,SdkPojo
- Enclosing class:
- AffectedEntity
public static interface AffectedEntity.Builder extends SdkPojo, CopyableBuilder<AffectedEntity.Builder,AffectedEntity>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AffectedEntity.BuilderawsAccountId(String awsAccountId)The 12-digit Amazon Web Services account number that contains the affected entity.AffectedEntity.BuilderentityArn(String entityArn)The unique identifier for the entity.AffectedEntity.BuilderentityMetadata(Map<String,String> entityMetadata)Additional metadata about the affected entity.AffectedEntity.BuilderentityUrl(String entityUrl)The URL of the affected entity.AffectedEntity.BuilderentityValue(String entityValue)The ID of the affected entity.AffectedEntity.BuildereventArn(String eventArn)The unique identifier for the event.AffectedEntity.BuilderlastUpdatedTime(Instant lastUpdatedTime)The most recent time that the entity was updated.AffectedEntity.BuilderstatusCode(String statusCodeValue)The most recent status of the entity affected by the event.AffectedEntity.BuilderstatusCode(EntityStatusCode statusCodeValue)The most recent status of the entity affected by the event.AffectedEntity.Buildertags(Map<String,String> tags)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
entityArn
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- 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
AffectedEntity.Builder eventArn(String 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_IDformat.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_IDformat.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
AffectedEntity.Builder entityValue(String 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
AffectedEntity.Builder entityUrl(String 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
AffectedEntity.Builder awsAccountId(String 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
AffectedEntity.Builder lastUpdatedTime(Instant 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
AffectedEntity.Builder statusCode(String statusCodeValue)
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:
EntityStatusCode,EntityStatusCode
-
statusCode
AffectedEntity.Builder statusCode(EntityStatusCode statusCodeValue)
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:
EntityStatusCode,EntityStatusCode
-
tags
AffectedEntity.Builder tags(Map<String,String> tags)
A map of entity tags attached to the affected entity.
Currently, the
tagsproperty isn't supported.- Parameters:
tags- A map of entity tags attached to the affected entity.Currently, the
tagsproperty isn't supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entityMetadata
AffectedEntity.Builder entityMetadata(Map<String,String> entityMetadata)
Additional metadata about the affected entity.
- Parameters:
entityMetadata- Additional metadata about the affected entity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-