Class CfnMitigationAction.ActionParamsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iot.CfnMitigationAction.ActionParamsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMitigationAction.ActionParamsProperty>
- Enclosing interface:
CfnMitigationAction.ActionParamsProperty
@Stability(Stable)
public static final class CfnMitigationAction.ActionParamsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMitigationAction.ActionParamsProperty>
A builder for
CfnMitigationAction.ActionParamsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddThingsToThingGroupParams
(IResolvable addThingsToThingGroupParams) addThingsToThingGroupParams
(CfnMitigationAction.AddThingsToThingGroupParamsProperty addThingsToThingGroupParams) build()
Builds the configured instance.enableIoTLoggingParams
(IResolvable enableIoTLoggingParams) Sets the value ofCfnMitigationAction.ActionParamsProperty.getEnableIoTLoggingParams()
enableIoTLoggingParams
(CfnMitigationAction.EnableIoTLoggingParamsProperty enableIoTLoggingParams) Sets the value ofCfnMitigationAction.ActionParamsProperty.getEnableIoTLoggingParams()
publishFindingToSnsParams
(IResolvable publishFindingToSnsParams) Sets the value ofCfnMitigationAction.ActionParamsProperty.getPublishFindingToSnsParams()
publishFindingToSnsParams
(CfnMitigationAction.PublishFindingToSnsParamsProperty publishFindingToSnsParams) Sets the value ofCfnMitigationAction.ActionParamsProperty.getPublishFindingToSnsParams()
replaceDefaultPolicyVersionParams
(IResolvable replaceDefaultPolicyVersionParams) replaceDefaultPolicyVersionParams
(CfnMitigationAction.ReplaceDefaultPolicyVersionParamsProperty replaceDefaultPolicyVersionParams) updateCaCertificateParams
(IResolvable updateCaCertificateParams) Sets the value ofCfnMitigationAction.ActionParamsProperty.getUpdateCaCertificateParams()
updateCaCertificateParams
(CfnMitigationAction.UpdateCACertificateParamsProperty updateCaCertificateParams) Sets the value ofCfnMitigationAction.ActionParamsProperty.getUpdateCaCertificateParams()
updateDeviceCertificateParams
(IResolvable updateDeviceCertificateParams) updateDeviceCertificateParams
(CfnMitigationAction.UpdateDeviceCertificateParamsProperty updateDeviceCertificateParams)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
addThingsToThingGroupParams
@Stability(Stable) public CfnMitigationAction.ActionParamsProperty.Builder addThingsToThingGroupParams(IResolvable addThingsToThingGroupParams) - Parameters:
addThingsToThingGroupParams
- Specifies the group to which you want to add the devices.- Returns:
this
-
addThingsToThingGroupParams
@Stability(Stable) public CfnMitigationAction.ActionParamsProperty.Builder addThingsToThingGroupParams(CfnMitigationAction.AddThingsToThingGroupParamsProperty addThingsToThingGroupParams) - Parameters:
addThingsToThingGroupParams
- Specifies the group to which you want to add the devices.- Returns:
this
-
enableIoTLoggingParams
@Stability(Stable) public CfnMitigationAction.ActionParamsProperty.Builder enableIoTLoggingParams(IResolvable enableIoTLoggingParams) Sets the value ofCfnMitigationAction.ActionParamsProperty.getEnableIoTLoggingParams()
- Parameters:
enableIoTLoggingParams
- Specifies the logging level and the role with permissions for logging. You cannot specify a logging level ofDISABLED
.- Returns:
this
-
enableIoTLoggingParams
@Stability(Stable) public CfnMitigationAction.ActionParamsProperty.Builder enableIoTLoggingParams(CfnMitigationAction.EnableIoTLoggingParamsProperty enableIoTLoggingParams) Sets the value ofCfnMitigationAction.ActionParamsProperty.getEnableIoTLoggingParams()
- Parameters:
enableIoTLoggingParams
- Specifies the logging level and the role with permissions for logging. You cannot specify a logging level ofDISABLED
.- Returns:
this
-
publishFindingToSnsParams
@Stability(Stable) public CfnMitigationAction.ActionParamsProperty.Builder publishFindingToSnsParams(IResolvable publishFindingToSnsParams) Sets the value ofCfnMitigationAction.ActionParamsProperty.getPublishFindingToSnsParams()
- Parameters:
publishFindingToSnsParams
- Specifies the topic to which the finding should be published.- Returns:
this
-
publishFindingToSnsParams
@Stability(Stable) public CfnMitigationAction.ActionParamsProperty.Builder publishFindingToSnsParams(CfnMitigationAction.PublishFindingToSnsParamsProperty publishFindingToSnsParams) Sets the value ofCfnMitigationAction.ActionParamsProperty.getPublishFindingToSnsParams()
- Parameters:
publishFindingToSnsParams
- Specifies the topic to which the finding should be published.- Returns:
this
-
replaceDefaultPolicyVersionParams
@Stability(Stable) public CfnMitigationAction.ActionParamsProperty.Builder replaceDefaultPolicyVersionParams(IResolvable replaceDefaultPolicyVersionParams) - Parameters:
replaceDefaultPolicyVersionParams
- Replaces the policy version with a default or blank policy. You specify the template name. Only a value ofBLANK_POLICY
is currently supported.- Returns:
this
-
replaceDefaultPolicyVersionParams
@Stability(Stable) public CfnMitigationAction.ActionParamsProperty.Builder replaceDefaultPolicyVersionParams(CfnMitigationAction.ReplaceDefaultPolicyVersionParamsProperty replaceDefaultPolicyVersionParams) - Parameters:
replaceDefaultPolicyVersionParams
- Replaces the policy version with a default or blank policy. You specify the template name. Only a value ofBLANK_POLICY
is currently supported.- Returns:
this
-
updateCaCertificateParams
@Stability(Stable) public CfnMitigationAction.ActionParamsProperty.Builder updateCaCertificateParams(IResolvable updateCaCertificateParams) Sets the value ofCfnMitigationAction.ActionParamsProperty.getUpdateCaCertificateParams()
- Parameters:
updateCaCertificateParams
- Specifies the new state for the CA certificate. Only a value ofDEACTIVATE
is currently supported.- Returns:
this
-
updateCaCertificateParams
@Stability(Stable) public CfnMitigationAction.ActionParamsProperty.Builder updateCaCertificateParams(CfnMitigationAction.UpdateCACertificateParamsProperty updateCaCertificateParams) Sets the value ofCfnMitigationAction.ActionParamsProperty.getUpdateCaCertificateParams()
- Parameters:
updateCaCertificateParams
- Specifies the new state for the CA certificate. Only a value ofDEACTIVATE
is currently supported.- Returns:
this
-
updateDeviceCertificateParams
@Stability(Stable) public CfnMitigationAction.ActionParamsProperty.Builder updateDeviceCertificateParams(IResolvable updateDeviceCertificateParams) - Parameters:
updateDeviceCertificateParams
- Specifies the new state for a device certificate. Only a value ofDEACTIVATE
is currently supported.- Returns:
this
-
updateDeviceCertificateParams
@Stability(Stable) public CfnMitigationAction.ActionParamsProperty.Builder updateDeviceCertificateParams(CfnMitigationAction.UpdateDeviceCertificateParamsProperty updateDeviceCertificateParams) - Parameters:
updateDeviceCertificateParams
- Specifies the new state for a device certificate. Only a value ofDEACTIVATE
is currently supported.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnMitigationAction.ActionParamsProperty>
- Returns:
- a new instance of
CfnMitigationAction.ActionParamsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-