public UpdateDeviceCertificateParams withAction(DeviceCertificateUpdateAction action) {
        this.action = action.toString();
        return this;
    }
<p>
The action that you want to apply to the device certificate. The only supported value is <code>DEACTIVATE</code>.
</p>

@param action
       The action that you want to apply to the device certificate. The only supported value is
       <code>DEACTIVATE</code>.
@return Returns a reference to this object so that method calls can be chained together.
@see DeviceCertificateUpdateAction
aws-java-sdk-iot/src/main/java/com/amazonaws/services/iot/model/UpdateDeviceCertificateParams.java