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 Details

    • createdBy

      IncidentRecordSource.Builder createdBy(String 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

      IncidentRecordSource.Builder invokedBy(String 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 in createdBy. 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

      IncidentRecordSource.Builder resourceArn(String 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.