Interface OrganizationAffectedEntitiesErrorItem.Builder

All Superinterfaces:
Buildable, CopyableBuilder<OrganizationAffectedEntitiesErrorItem.Builder,OrganizationAffectedEntitiesErrorItem>, SdkBuilder<OrganizationAffectedEntitiesErrorItem.Builder,OrganizationAffectedEntitiesErrorItem>, SdkPojo
Enclosing class:
OrganizationAffectedEntitiesErrorItem

public static interface OrganizationAffectedEntitiesErrorItem.Builder extends SdkPojo, CopyableBuilder<OrganizationAffectedEntitiesErrorItem.Builder,OrganizationAffectedEntitiesErrorItem>
  • Method Details

    • awsAccountId

      The 12-digit Amazon Web Services account numbers that contains the affected entities.

      Parameters:
      awsAccountId - The 12-digit Amazon Web Services account numbers that contains the affected entities.
      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 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.
    • errorName

      The name of the error.

      Parameters:
      errorName - The name of the error.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errorMessage

      A message that describes the error. Follow the error message and retry your request.

      For example, the InvalidAccountInputError error message appears if you call the DescribeAffectedEntitiesForOrganization operation and specify the AccountSpecific value for the EventScopeCode parameter, but don't specify an Amazon Web Services account.

      Parameters:
      errorMessage - A message that describes the error. Follow the error message and retry your request.

      For example, the InvalidAccountInputError error message appears if you call the DescribeAffectedEntitiesForOrganization operation and specify the AccountSpecific value for the EventScopeCode parameter, but don't specify an Amazon Web Services account.

      Returns:
      Returns a reference to this object so that method calls can be chained together.