Interface DescribeMitigationActionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeMitigationActionResponse.Builder,
,DescribeMitigationActionResponse> IotResponse.Builder
,SdkBuilder<DescribeMitigationActionResponse.Builder,
,DescribeMitigationActionResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeMitigationActionResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN that identifies this migration action.A unique identifier for this action.actionName
(String actionName) The friendly name that uniquely identifies the mitigation action.actionParams
(Consumer<MitigationActionParams.Builder> actionParams) Parameters that control how the mitigation action is applied, specific to the type of mitigation action.actionParams
(MitigationActionParams actionParams) Parameters that control how the mitigation action is applied, specific to the type of mitigation action.actionType
(String actionType) The type of mitigation action.actionType
(MitigationActionType actionType) The type of mitigation action.creationDate
(Instant creationDate) The date and time when the mitigation action was added to your Amazon Web Services accounts.lastModifiedDate
(Instant lastModifiedDate) The date and time when the mitigation action was last changed.The ARN of the IAM role used to apply this action.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iot.model.IotResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
actionName
The friendly name that uniquely identifies the mitigation action.
- Parameters:
actionName
- The friendly name that uniquely identifies the mitigation action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionType
The type of mitigation action.
- Parameters:
actionType
- The type of mitigation action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
actionType
The type of mitigation action.
- Parameters:
actionType
- The type of mitigation action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
actionArn
The ARN that identifies this migration action.
- Parameters:
actionArn
- The ARN that identifies this migration action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionId
A unique identifier for this action.
- Parameters:
actionId
- A unique identifier for this action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
The ARN of the IAM role used to apply this action.
- Parameters:
roleArn
- The ARN of the IAM role used to apply this action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionParams
Parameters that control how the mitigation action is applied, specific to the type of mitigation action.
- Parameters:
actionParams
- Parameters that control how the mitigation action is applied, specific to the type of mitigation action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionParams
default DescribeMitigationActionResponse.Builder actionParams(Consumer<MitigationActionParams.Builder> actionParams) Parameters that control how the mitigation action is applied, specific to the type of mitigation action.
This is a convenience method that creates an instance of theMitigationActionParams.Builder
avoiding the need to create one manually viaMitigationActionParams.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toactionParams(MitigationActionParams)
.- Parameters:
actionParams
- a consumer that will call methods onMitigationActionParams.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
creationDate
The date and time when the mitigation action was added to your Amazon Web Services accounts.
- Parameters:
creationDate
- The date and time when the mitigation action was added to your Amazon Web Services accounts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedDate
The date and time when the mitigation action was last changed.
- Parameters:
lastModifiedDate
- The date and time when the mitigation action was last changed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-