Interface MitigationActionParams.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<MitigationActionParams.Builder,
,MitigationActionParams> SdkBuilder<MitigationActionParams.Builder,
,MitigationActionParams> SdkPojo
- Enclosing class:
MitigationActionParams
-
Method Summary
Modifier and TypeMethodDescriptiondefault MitigationActionParams.Builder
addThingsToThingGroupParams
(Consumer<AddThingsToThingGroupParams.Builder> addThingsToThingGroupParams) Parameters to define a mitigation action that moves devices associated with a certificate to one or more specified thing groups, typically for quarantine.addThingsToThingGroupParams
(AddThingsToThingGroupParams addThingsToThingGroupParams) Parameters to define a mitigation action that moves devices associated with a certificate to one or more specified thing groups, typically for quarantine.default MitigationActionParams.Builder
enableIoTLoggingParams
(Consumer<EnableIoTLoggingParams.Builder> enableIoTLoggingParams) Parameters to define a mitigation action that enables Amazon Web Services IoT Core logging at a specified level of detail.enableIoTLoggingParams
(EnableIoTLoggingParams enableIoTLoggingParams) Parameters to define a mitigation action that enables Amazon Web Services IoT Core logging at a specified level of detail.default MitigationActionParams.Builder
publishFindingToSnsParams
(Consumer<PublishFindingToSnsParams.Builder> publishFindingToSnsParams) Parameters to define a mitigation action that publishes findings to Amazon Simple Notification Service (Amazon SNS.publishFindingToSnsParams
(PublishFindingToSnsParams publishFindingToSnsParams) Parameters to define a mitigation action that publishes findings to Amazon Simple Notification Service (Amazon SNS.default MitigationActionParams.Builder
replaceDefaultPolicyVersionParams
(Consumer<ReplaceDefaultPolicyVersionParams.Builder> replaceDefaultPolicyVersionParams) Parameters to define a mitigation action that adds a blank policy to restrict permissions.replaceDefaultPolicyVersionParams
(ReplaceDefaultPolicyVersionParams replaceDefaultPolicyVersionParams) Parameters to define a mitigation action that adds a blank policy to restrict permissions.default MitigationActionParams.Builder
updateCACertificateParams
(Consumer<UpdateCACertificateParams.Builder> updateCACertificateParams) Parameters to define a mitigation action that changes the state of the CA certificate to inactive.updateCACertificateParams
(UpdateCACertificateParams updateCACertificateParams) Parameters to define a mitigation action that changes the state of the CA certificate to inactive.default MitigationActionParams.Builder
updateDeviceCertificateParams
(Consumer<UpdateDeviceCertificateParams.Builder> updateDeviceCertificateParams) Parameters to define a mitigation action that changes the state of the device certificate to inactive.updateDeviceCertificateParams
(UpdateDeviceCertificateParams updateDeviceCertificateParams) Parameters to define a mitigation action that changes the state of the device certificate to inactive.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
updateDeviceCertificateParams
MitigationActionParams.Builder updateDeviceCertificateParams(UpdateDeviceCertificateParams updateDeviceCertificateParams) Parameters to define a mitigation action that changes the state of the device certificate to inactive.
- Parameters:
updateDeviceCertificateParams
- Parameters to define a mitigation action that changes the state of the device certificate to inactive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updateDeviceCertificateParams
default MitigationActionParams.Builder updateDeviceCertificateParams(Consumer<UpdateDeviceCertificateParams.Builder> updateDeviceCertificateParams) Parameters to define a mitigation action that changes the state of the device certificate to inactive.
This is a convenience method that creates an instance of theUpdateDeviceCertificateParams.Builder
avoiding the need to create one manually viaUpdateDeviceCertificateParams.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toupdateDeviceCertificateParams(UpdateDeviceCertificateParams)
.- Parameters:
updateDeviceCertificateParams
- a consumer that will call methods onUpdateDeviceCertificateParams.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
updateCACertificateParams
MitigationActionParams.Builder updateCACertificateParams(UpdateCACertificateParams updateCACertificateParams) Parameters to define a mitigation action that changes the state of the CA certificate to inactive.
- Parameters:
updateCACertificateParams
- Parameters to define a mitigation action that changes the state of the CA certificate to inactive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updateCACertificateParams
default MitigationActionParams.Builder updateCACertificateParams(Consumer<UpdateCACertificateParams.Builder> updateCACertificateParams) Parameters to define a mitigation action that changes the state of the CA certificate to inactive.
This is a convenience method that creates an instance of theUpdateCACertificateParams.Builder
avoiding the need to create one manually viaUpdateCACertificateParams.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toupdateCACertificateParams(UpdateCACertificateParams)
.- Parameters:
updateCACertificateParams
- a consumer that will call methods onUpdateCACertificateParams.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
addThingsToThingGroupParams
MitigationActionParams.Builder addThingsToThingGroupParams(AddThingsToThingGroupParams addThingsToThingGroupParams) Parameters to define a mitigation action that moves devices associated with a certificate to one or more specified thing groups, typically for quarantine.
- Parameters:
addThingsToThingGroupParams
- Parameters to define a mitigation action that moves devices associated with a certificate to one or more specified thing groups, typically for quarantine.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addThingsToThingGroupParams
default MitigationActionParams.Builder addThingsToThingGroupParams(Consumer<AddThingsToThingGroupParams.Builder> addThingsToThingGroupParams) Parameters to define a mitigation action that moves devices associated with a certificate to one or more specified thing groups, typically for quarantine.
This is a convenience method that creates an instance of theAddThingsToThingGroupParams.Builder
avoiding the need to create one manually viaAddThingsToThingGroupParams.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaddThingsToThingGroupParams(AddThingsToThingGroupParams)
.- Parameters:
addThingsToThingGroupParams
- a consumer that will call methods onAddThingsToThingGroupParams.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
replaceDefaultPolicyVersionParams
MitigationActionParams.Builder replaceDefaultPolicyVersionParams(ReplaceDefaultPolicyVersionParams replaceDefaultPolicyVersionParams) Parameters to define a mitigation action that adds a blank policy to restrict permissions.
- Parameters:
replaceDefaultPolicyVersionParams
- Parameters to define a mitigation action that adds a blank policy to restrict permissions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replaceDefaultPolicyVersionParams
default MitigationActionParams.Builder replaceDefaultPolicyVersionParams(Consumer<ReplaceDefaultPolicyVersionParams.Builder> replaceDefaultPolicyVersionParams) Parameters to define a mitigation action that adds a blank policy to restrict permissions.
This is a convenience method that creates an instance of theReplaceDefaultPolicyVersionParams.Builder
avoiding the need to create one manually viaReplaceDefaultPolicyVersionParams.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toreplaceDefaultPolicyVersionParams(ReplaceDefaultPolicyVersionParams)
.- Parameters:
replaceDefaultPolicyVersionParams
- a consumer that will call methods onReplaceDefaultPolicyVersionParams.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
enableIoTLoggingParams
MitigationActionParams.Builder enableIoTLoggingParams(EnableIoTLoggingParams enableIoTLoggingParams) Parameters to define a mitigation action that enables Amazon Web Services IoT Core logging at a specified level of detail.
- Parameters:
enableIoTLoggingParams
- Parameters to define a mitigation action that enables Amazon Web Services IoT Core logging at a specified level of detail.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enableIoTLoggingParams
default MitigationActionParams.Builder enableIoTLoggingParams(Consumer<EnableIoTLoggingParams.Builder> enableIoTLoggingParams) Parameters to define a mitigation action that enables Amazon Web Services IoT Core logging at a specified level of detail.
This is a convenience method that creates an instance of theEnableIoTLoggingParams.Builder
avoiding the need to create one manually viaEnableIoTLoggingParams.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toenableIoTLoggingParams(EnableIoTLoggingParams)
.- Parameters:
enableIoTLoggingParams
- a consumer that will call methods onEnableIoTLoggingParams.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
publishFindingToSnsParams
MitigationActionParams.Builder publishFindingToSnsParams(PublishFindingToSnsParams publishFindingToSnsParams) Parameters to define a mitigation action that publishes findings to Amazon Simple Notification Service (Amazon SNS. You can implement your own custom actions in response to the Amazon SNS messages.
- Parameters:
publishFindingToSnsParams
- Parameters to define a mitigation action that publishes findings to Amazon Simple Notification Service (Amazon SNS. You can implement your own custom actions in response to the Amazon SNS messages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publishFindingToSnsParams
default MitigationActionParams.Builder publishFindingToSnsParams(Consumer<PublishFindingToSnsParams.Builder> publishFindingToSnsParams) Parameters to define a mitigation action that publishes findings to Amazon Simple Notification Service (Amazon SNS. You can implement your own custom actions in response to the Amazon SNS messages.
This is a convenience method that creates an instance of thePublishFindingToSnsParams.Builder
avoiding the need to create one manually viaPublishFindingToSnsParams.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topublishFindingToSnsParams(PublishFindingToSnsParams)
.- Parameters:
publishFindingToSnsParams
- a consumer that will call methods onPublishFindingToSnsParams.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-