Interface DescribeMitigationActionResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeMitigationActionResponse.Builder,DescribeMitigationActionResponse>
,IotResponse.Builder
,SdkBuilder<DescribeMitigationActionResponse.Builder,DescribeMitigationActionResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- DescribeMitigationActionResponse
public static interface DescribeMitigationActionResponse.Builder extends IotResponse.Builder, SdkPojo, CopyableBuilder<DescribeMitigationActionResponse.Builder,DescribeMitigationActionResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DescribeMitigationActionResponse.Builder
actionArn(String actionArn)
The ARN that identifies this migration action.DescribeMitigationActionResponse.Builder
actionId(String actionId)
A unique identifier for this action.DescribeMitigationActionResponse.Builder
actionName(String actionName)
The friendly name that uniquely identifies the mitigation action.default DescribeMitigationActionResponse.Builder
actionParams(Consumer<MitigationActionParams.Builder> actionParams)
Parameters that control how the mitigation action is applied, specific to the type of mitigation action.DescribeMitigationActionResponse.Builder
actionParams(MitigationActionParams actionParams)
Parameters that control how the mitigation action is applied, specific to the type of mitigation action.DescribeMitigationActionResponse.Builder
actionType(String actionType)
The type of mitigation action.DescribeMitigationActionResponse.Builder
actionType(MitigationActionType actionType)
The type of mitigation action.DescribeMitigationActionResponse.Builder
creationDate(Instant creationDate)
The date and time when the mitigation action was added to your Amazon Web Services accounts.DescribeMitigationActionResponse.Builder
lastModifiedDate(Instant lastModifiedDate)
The date and time when the mitigation action was last changed.DescribeMitigationActionResponse.Builder
roleArn(String roleArn)
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 Detail
-
actionName
DescribeMitigationActionResponse.Builder actionName(String 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
DescribeMitigationActionResponse.Builder actionType(String 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:
MitigationActionType
,MitigationActionType
-
actionType
DescribeMitigationActionResponse.Builder actionType(MitigationActionType 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:
MitigationActionType
,MitigationActionType
-
actionArn
DescribeMitigationActionResponse.Builder actionArn(String 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
DescribeMitigationActionResponse.Builder actionId(String 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
DescribeMitigationActionResponse.Builder roleArn(String 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
DescribeMitigationActionResponse.Builder actionParams(MitigationActionParams 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:
actionParams(MitigationActionParams)
-
creationDate
DescribeMitigationActionResponse.Builder creationDate(Instant 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
DescribeMitigationActionResponse.Builder lastModifiedDate(Instant 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.
-
-