public class UpdateDeviceCertificateParams
extends java.lang.Object
implements java.io.Serializable
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 |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAction()
The action that you want to apply to the device certificate.
|
int |
hashCode() |
void |
setAction(DeviceCertificateUpdateAction action)
The action that you want to apply to the device certificate.
|
void |
setAction(java.lang.String action)
The action that you want to apply to the device certificate.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateDeviceCertificateParams |
withAction(DeviceCertificateUpdateAction action)
The action that you want to apply to the device certificate.
|
UpdateDeviceCertificateParams |
withAction(java.lang.String action)
The action that you want to apply to the device certificate.
|
public java.lang.String getAction()
The action that you want to apply to the device certificate. The only
supported value is DEACTIVATE
.
Constraints:
Allowed Values: DEACTIVATE
The action that you want to apply to the device certificate. The
only supported value is DEACTIVATE
.
DeviceCertificateUpdateAction
public void setAction(java.lang.String action)
The action that you want to apply to the device certificate. The only
supported value is DEACTIVATE
.
Constraints:
Allowed Values: DEACTIVATE
action
-
The action that you want to apply to the device certificate.
The only supported value is DEACTIVATE
.
DeviceCertificateUpdateAction
public UpdateDeviceCertificateParams withAction(java.lang.String action)
The action that you want to apply to the device certificate. The only
supported value is DEACTIVATE
.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: DEACTIVATE
action
-
The action that you want to apply to the device certificate.
The only supported value is DEACTIVATE
.
DeviceCertificateUpdateAction
public void setAction(DeviceCertificateUpdateAction action)
The action that you want to apply to the device certificate. The only
supported value is DEACTIVATE
.
Constraints:
Allowed Values: 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
.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: DEACTIVATE
action
-
The action that you want to apply to the device certificate.
The only supported value is DEACTIVATE
.
DeviceCertificateUpdateAction
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.