@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateDeviceCertificateParams extends Object implements Serializable, Cloneable, StructuredPojo
Parameters to define a mitigation action that changes the state of the device certificate to inactive.
| Constructor and Description |
|---|
UpdateDeviceCertificateParams() |
| Modifier and Type | Method and Description |
|---|---|
UpdateDeviceCertificateParams |
clone() |
boolean |
equals(Object obj) |
String |
getAction()
The action that you want to apply to the device certificate.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAction(String action)
The action that you want to apply to the device certificate.
|
String |
toString()
Returns a string representation of this object.
|
UpdateDeviceCertificateParams |
withAction(DeviceCertificateUpdateAction action)
The action that you want to apply to the device certificate.
|
UpdateDeviceCertificateParams |
withAction(String action)
The action that you want to apply to the device certificate.
|
public void setAction(String action)
The action that you want to apply to the device certificate. The only supported value is DEACTIVATE.
action - The action that you want to apply to the device certificate. The only supported value is
DEACTIVATE.DeviceCertificateUpdateActionpublic String getAction()
The action that you want to apply to the device certificate. The only supported value is DEACTIVATE.
DEACTIVATE.DeviceCertificateUpdateActionpublic UpdateDeviceCertificateParams withAction(String action)
The action that you want to apply to the device certificate. The only supported value is DEACTIVATE.
action - The action that you want to apply to the device certificate. The only supported value is
DEACTIVATE.DeviceCertificateUpdateActionpublic UpdateDeviceCertificateParams withAction(DeviceCertificateUpdateAction action)
The action that you want to apply to the device certificate. The only supported value is DEACTIVATE.
action - The action that you want to apply to the device certificate. The only supported value is
DEACTIVATE.DeviceCertificateUpdateActionpublic String toString()
toString in class ObjectObject.toString()public UpdateDeviceCertificateParams clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.