@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) |
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
.DeviceCertificateUpdateAction
public String getAction()
The action that you want to apply to the device certificate. The only supported value is DEACTIVATE
.
DEACTIVATE
.DeviceCertificateUpdateAction
public 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
.DeviceCertificateUpdateAction
public 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
.DeviceCertificateUpdateAction
public String toString()
toString
in class Object
Object.toString()
public UpdateDeviceCertificateParams clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2023. All rights reserved.