@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 cerrtificate.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAction(String action)
The action that you want to apply to the device cerrtificate.
|
String |
toString()
Returns a string representation of this object.
|
UpdateDeviceCertificateParams |
withAction(DeviceCertificateUpdateAction action)
The action that you want to apply to the device cerrtificate.
|
UpdateDeviceCertificateParams |
withAction(String action)
The action that you want to apply to the device cerrtificate.
|
public void setAction(String action)
The action that you want to apply to the device cerrtificate. The only supported value is DEACTIVATE
.
action - The action that you want to apply to the device cerrtificate. The only supported value is
DEACTIVATE.DeviceCertificateUpdateActionpublic String getAction()
The action that you want to apply to the device cerrtificate. The only supported value is DEACTIVATE
.
DEACTIVATE.DeviceCertificateUpdateActionpublic UpdateDeviceCertificateParams withAction(String action)
The action that you want to apply to the device cerrtificate. The only supported value is DEACTIVATE
.
action - The action that you want to apply to the device cerrtificate. The only supported value is
DEACTIVATE.DeviceCertificateUpdateActionpublic UpdateDeviceCertificateParams withAction(DeviceCertificateUpdateAction action)
The action that you want to apply to the device cerrtificate. The only supported value is DEACTIVATE
.
action - The action that you want to apply to the device cerrtificate. The only supported value is
DEACTIVATE.DeviceCertificateUpdateActionpublic String toString()
toString in class ObjectObject.toString()public UpdateDeviceCertificateParams clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2019. All rights reserved.