Interface OrganizationAffectedEntitiesErrorItem.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<OrganizationAffectedEntitiesErrorItem.Builder,
,OrganizationAffectedEntitiesErrorItem> SdkBuilder<OrganizationAffectedEntitiesErrorItem.Builder,
,OrganizationAffectedEntitiesErrorItem> SdkPojo
- Enclosing class:
OrganizationAffectedEntitiesErrorItem
-
Method Summary
Modifier and TypeMethodDescriptionawsAccountId
(String awsAccountId) The 12-digit Amazon Web Services account numbers that contains the affected entities.errorMessage
(String errorMessage) A message that describes the error.The name of the error.The unique identifier for the event.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
-
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 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.
-
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 theDescribeAffectedEntitiesForOrganization
operation and specify theAccountSpecific
value for theEventScopeCode
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 theDescribeAffectedEntitiesForOrganization
operation and specify theAccountSpecific
value for theEventScopeCode
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.
-