Class CfnMitigationActionPropsMixin.ActionParamsProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.iot.mixins.CfnMitigationActionPropsMixin.ActionParamsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMitigationActionPropsMixin.ActionParamsProperty>
- Enclosing interface:
CfnMitigationActionPropsMixin.ActionParamsProperty
@Stability(Stable)
public static final class CfnMitigationActionPropsMixin.ActionParamsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMitigationActionPropsMixin.ActionParamsProperty>
A builder for
CfnMitigationActionPropsMixin.ActionParamsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddThingsToThingGroupParams(IResolvable addThingsToThingGroupParams) addThingsToThingGroupParams(CfnMitigationActionPropsMixin.AddThingsToThingGroupParamsProperty addThingsToThingGroupParams) build()Builds the configured instance.enableIoTLoggingParams(IResolvable enableIoTLoggingParams) enableIoTLoggingParams(CfnMitigationActionPropsMixin.EnableIoTLoggingParamsProperty enableIoTLoggingParams) publishFindingToSnsParams(IResolvable publishFindingToSnsParams) publishFindingToSnsParams(CfnMitigationActionPropsMixin.PublishFindingToSnsParamsProperty publishFindingToSnsParams) replaceDefaultPolicyVersionParams(IResolvable replaceDefaultPolicyVersionParams) replaceDefaultPolicyVersionParams(CfnMitigationActionPropsMixin.ReplaceDefaultPolicyVersionParamsProperty replaceDefaultPolicyVersionParams) updateCaCertificateParams(IResolvable updateCaCertificateParams) updateCaCertificateParams(CfnMitigationActionPropsMixin.UpdateCACertificateParamsProperty updateCaCertificateParams) updateDeviceCertificateParams(IResolvable updateDeviceCertificateParams) updateDeviceCertificateParams(CfnMitigationActionPropsMixin.UpdateDeviceCertificateParamsProperty updateDeviceCertificateParams)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
addThingsToThingGroupParams
@Stability(Stable) public CfnMitigationActionPropsMixin.ActionParamsProperty.Builder addThingsToThingGroupParams(IResolvable addThingsToThingGroupParams) Sets the value ofCfnMitigationActionPropsMixin.ActionParamsProperty.getAddThingsToThingGroupParams()- Parameters:
addThingsToThingGroupParams- Specifies the group to which you want to add the devices.- Returns:
this
-
addThingsToThingGroupParams
@Stability(Stable) public CfnMitigationActionPropsMixin.ActionParamsProperty.Builder addThingsToThingGroupParams(CfnMitigationActionPropsMixin.AddThingsToThingGroupParamsProperty addThingsToThingGroupParams) Sets the value ofCfnMitigationActionPropsMixin.ActionParamsProperty.getAddThingsToThingGroupParams()- Parameters:
addThingsToThingGroupParams- Specifies the group to which you want to add the devices.- Returns:
this
-
enableIoTLoggingParams
@Stability(Stable) public CfnMitigationActionPropsMixin.ActionParamsProperty.Builder enableIoTLoggingParams(IResolvable enableIoTLoggingParams) - 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 CfnMitigationActionPropsMixin.ActionParamsProperty.Builder enableIoTLoggingParams(CfnMitigationActionPropsMixin.EnableIoTLoggingParamsProperty enableIoTLoggingParams) - 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 CfnMitigationActionPropsMixin.ActionParamsProperty.Builder publishFindingToSnsParams(IResolvable publishFindingToSnsParams) - Parameters:
publishFindingToSnsParams- Specifies the topic to which the finding should be published.- Returns:
this
-
publishFindingToSnsParams
@Stability(Stable) public CfnMitigationActionPropsMixin.ActionParamsProperty.Builder publishFindingToSnsParams(CfnMitigationActionPropsMixin.PublishFindingToSnsParamsProperty publishFindingToSnsParams) - Parameters:
publishFindingToSnsParams- Specifies the topic to which the finding should be published.- Returns:
this
-
replaceDefaultPolicyVersionParams
@Stability(Stable) public CfnMitigationActionPropsMixin.ActionParamsProperty.Builder replaceDefaultPolicyVersionParams(IResolvable replaceDefaultPolicyVersionParams) Sets the value ofCfnMitigationActionPropsMixin.ActionParamsProperty.getReplaceDefaultPolicyVersionParams()- Parameters:
replaceDefaultPolicyVersionParams- Replaces the policy version with a default or blank policy. You specify the template name. Only a value ofBLANK_POLICYis currently supported.- Returns:
this
-
replaceDefaultPolicyVersionParams
@Stability(Stable) public CfnMitigationActionPropsMixin.ActionParamsProperty.Builder replaceDefaultPolicyVersionParams(CfnMitigationActionPropsMixin.ReplaceDefaultPolicyVersionParamsProperty replaceDefaultPolicyVersionParams) Sets the value ofCfnMitigationActionPropsMixin.ActionParamsProperty.getReplaceDefaultPolicyVersionParams()- Parameters:
replaceDefaultPolicyVersionParams- Replaces the policy version with a default or blank policy. You specify the template name. Only a value ofBLANK_POLICYis currently supported.- Returns:
this
-
updateCaCertificateParams
@Stability(Stable) public CfnMitigationActionPropsMixin.ActionParamsProperty.Builder updateCaCertificateParams(IResolvable updateCaCertificateParams) - Parameters:
updateCaCertificateParams- Specifies the new state for the CA certificate. Only a value ofDEACTIVATEis currently supported.- Returns:
this
-
updateCaCertificateParams
@Stability(Stable) public CfnMitigationActionPropsMixin.ActionParamsProperty.Builder updateCaCertificateParams(CfnMitigationActionPropsMixin.UpdateCACertificateParamsProperty updateCaCertificateParams) - Parameters:
updateCaCertificateParams- Specifies the new state for the CA certificate. Only a value ofDEACTIVATEis currently supported.- Returns:
this
-
updateDeviceCertificateParams
@Stability(Stable) public CfnMitigationActionPropsMixin.ActionParamsProperty.Builder updateDeviceCertificateParams(IResolvable updateDeviceCertificateParams) Sets the value ofCfnMitigationActionPropsMixin.ActionParamsProperty.getUpdateDeviceCertificateParams()- Parameters:
updateDeviceCertificateParams- Specifies the new state for a device certificate. Only a value ofDEACTIVATEis currently supported.- Returns:
this
-
updateDeviceCertificateParams
@Stability(Stable) public CfnMitigationActionPropsMixin.ActionParamsProperty.Builder updateDeviceCertificateParams(CfnMitigationActionPropsMixin.UpdateDeviceCertificateParamsProperty updateDeviceCertificateParams) Sets the value ofCfnMitigationActionPropsMixin.ActionParamsProperty.getUpdateDeviceCertificateParams()- Parameters:
updateDeviceCertificateParams- Specifies the new state for a device certificate. Only a value ofDEACTIVATEis currently supported.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMitigationActionPropsMixin.ActionParamsProperty>- Returns:
- a new instance of
CfnMitigationActionPropsMixin.ActionParamsProperty - Throws:
NullPointerException- if any required attribute was not provided
-