Interface MitigationAction.Builder

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

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

    • name

      A user-friendly name for the mitigation action.

      Parameters:
      name - A user-friendly name for the mitigation action.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • id

      A unique identifier for the mitigation action.

      Parameters:
      id - A unique identifier for the mitigation action.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • roleArn

      MitigationAction.Builder roleArn(String roleArn)

      The IAM role ARN used to apply this mitigation action.

      Parameters:
      roleArn - The IAM role ARN used to apply this mitigation action.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • actionParams

      The set of parameters for this mitigation action. The parameters vary, depending on the kind of action you apply.

      Parameters:
      actionParams - The set of parameters for this mitigation action. The parameters vary, depending on the kind of action you apply.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • actionParams

      The set of parameters for this mitigation action. The parameters vary, depending on the kind of action you apply.

      This is a convenience method that creates an instance of the MitigationActionParams.Builder avoiding the need to create one manually via MitigationActionParams.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to actionParams(MitigationActionParams).

      Parameters:
      actionParams - a consumer that will call methods on MitigationActionParams.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: