Interface OrganizationAffectedEntitiesErrorItem.Builder

    • Method Detail

      • awsAccountId

        OrganizationAffectedEntitiesErrorItem.Builder awsAccountId​(String 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

        OrganizationAffectedEntitiesErrorItem.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.
      • errorMessage

        OrganizationAffectedEntitiesErrorItem.Builder errorMessage​(String 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.