Interface IncidentRecordSource.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<IncidentRecordSource.Builder,
,IncidentRecordSource> SdkBuilder<IncidentRecordSource.Builder,
,IncidentRecordSource> SdkPojo
- Enclosing class:
IncidentRecordSource
public static interface IncidentRecordSource.Builder
extends SdkPojo, CopyableBuilder<IncidentRecordSource.Builder,IncidentRecordSource>
-
Method Summary
Modifier and TypeMethodDescriptionThe principal that started the incident.The service principal that assumed the role specified increatedBy
.resourceArn
(String resourceArn) The resource that caused the incident to be created.The service that started the incident.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
-
createdBy
The principal that started the incident.
- Parameters:
createdBy
- The principal that started the incident.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
invokedBy
The service principal that assumed the role specified in
createdBy
. If no service principal assumed the role this will be left blank.- Parameters:
invokedBy
- The service principal that assumed the role specified increatedBy
. If no service principal assumed the role this will be left blank.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceArn
The resource that caused the incident to be created.
- Parameters:
resourceArn
- The resource that caused the incident to be created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
The service that started the incident. This can be manually created from Incident Manager, automatically created using an Amazon CloudWatch alarm, or Amazon EventBridge event.
- Parameters:
source
- The service that started the incident. This can be manually created from Incident Manager, automatically created using an Amazon CloudWatch alarm, or Amazon EventBridge event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-