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 Details

    • 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_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 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

      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, and UNKNOWN.

      Parameters:
      statusCodeValue - The most recent status of the entity affected by the event. The possible values are IMPAIRED, UNIMPAIRED, and UNKNOWN.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • statusCode

      AffectedEntity.Builder statusCode(EntityStatusCode statusCodeValue)

      The most recent status of the entity affected by the event. The possible values are IMPAIRED, UNIMPAIRED, and UNKNOWN.

      Parameters:
      statusCodeValue - The most recent status of the entity affected by the event. The possible values are IMPAIRED, UNIMPAIRED, and UNKNOWN.
      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.