Class CfnMitigationAction.UpdateDeviceCertificateParamsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iot.CfnMitigationAction.UpdateDeviceCertificateParamsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMitigationAction.UpdateDeviceCertificateParamsProperty>
- Enclosing interface:
CfnMitigationAction.UpdateDeviceCertificateParamsProperty
@Stability(Stable)
public static final class CfnMitigationAction.UpdateDeviceCertificateParamsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMitigationAction.UpdateDeviceCertificateParamsProperty>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnMitigationAction.UpdateDeviceCertificateParamsProperty.getAction()
build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
action
@Stability(Stable) public CfnMitigationAction.UpdateDeviceCertificateParamsProperty.Builder action(String action) Sets the value ofCfnMitigationAction.UpdateDeviceCertificateParamsProperty.getAction()
- Parameters:
action
- The action that you want to apply to the device certificate. This parameter is required. The only supported value isDEACTIVATE
.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnMitigationAction.UpdateDeviceCertificateParamsProperty>
- Returns:
- a new instance of
CfnMitigationAction.UpdateDeviceCertificateParamsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-