public static interface MitigationAction.Builder extends SdkPojo, CopyableBuilder<MitigationAction.Builder,MitigationAction>
Modifier and Type | Method and Description |
---|---|
default MitigationAction.Builder |
actionParams(Consumer<MitigationActionParams.Builder> actionParams)
The set of parameters for this mitigation action.
|
MitigationAction.Builder |
actionParams(MitigationActionParams actionParams)
The set of parameters for this mitigation action.
|
MitigationAction.Builder |
id(String id)
A unique identifier for the mitigation action.
|
MitigationAction.Builder |
name(String name)
A user-friendly name for the mitigation action.
|
MitigationAction.Builder |
roleArn(String roleArn)
The IAM role ARN used to apply this mitigation action.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
MitigationAction.Builder name(String name)
A user-friendly name for the mitigation action.
name
- A user-friendly name for the mitigation action.MitigationAction.Builder id(String id)
A unique identifier for the mitigation action.
id
- A unique identifier for the mitigation action.MitigationAction.Builder roleArn(String roleArn)
The IAM role ARN used to apply this mitigation action.
roleArn
- The IAM role ARN used to apply this mitigation action.MitigationAction.Builder actionParams(MitigationActionParams actionParams)
The set of parameters for this mitigation action. The parameters vary, depending on the kind of action you apply.
actionParams
- The set of parameters for this mitigation action. The parameters vary, depending on the kind of action
you apply.default MitigationAction.Builder actionParams(Consumer<MitigationActionParams.Builder> actionParams)
The set of parameters for this mitigation action. The parameters vary, depending on the kind of action you apply.
This is a convenience that creates an instance of theMitigationActionParams.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)
.actionParams
- a consumer that will call methods on MitigationActionParams.Builder
actionParams(MitigationActionParams)
Copyright © 2020. All rights reserved.