@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MitigationActionParams extends Object implements Serializable, Cloneable, StructuredPojo
The set of parameters for this mitigation action. You can specify only one type of parameter (in other words, you can apply only one action for each defined mitigation action).
Constructor and Description |
---|
MitigationActionParams() |
Modifier and Type | Method and Description |
---|---|
MitigationActionParams |
clone() |
boolean |
equals(Object obj) |
AddThingsToThingGroupParams |
getAddThingsToThingGroupParams()
Parameters to define a mitigation action that moves devices associated with a certificate to one or more
specified thing groups, typically for quarantine.
|
EnableIoTLoggingParams |
getEnableIoTLoggingParams()
Parameters to define a mitigation action that enables AWS IoT logging at a specified level of detail.
|
PublishFindingToSnsParams |
getPublishFindingToSnsParams()
Parameters to define a mitigation action that publishes findings to Amazon Simple Notification Service (Amazon
SNS.
|
ReplaceDefaultPolicyVersionParams |
getReplaceDefaultPolicyVersionParams()
Parameters to define a mitigation action that adds a blank policy to restrict permissions.
|
UpdateCACertificateParams |
getUpdateCACertificateParams()
Parameters to define a mitigation action that changes the state of the CA certificate to inactive.
|
UpdateDeviceCertificateParams |
getUpdateDeviceCertificateParams()
Parameters to define a mitigation action that changes the state of the device certificate to inactive.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAddThingsToThingGroupParams(AddThingsToThingGroupParams addThingsToThingGroupParams)
Parameters to define a mitigation action that moves devices associated with a certificate to one or more
specified thing groups, typically for quarantine.
|
void |
setEnableIoTLoggingParams(EnableIoTLoggingParams enableIoTLoggingParams)
Parameters to define a mitigation action that enables AWS IoT logging at a specified level of detail.
|
void |
setPublishFindingToSnsParams(PublishFindingToSnsParams publishFindingToSnsParams)
Parameters to define a mitigation action that publishes findings to Amazon Simple Notification Service (Amazon
SNS.
|
void |
setReplaceDefaultPolicyVersionParams(ReplaceDefaultPolicyVersionParams replaceDefaultPolicyVersionParams)
Parameters to define a mitigation action that adds a blank policy to restrict permissions.
|
void |
setUpdateCACertificateParams(UpdateCACertificateParams updateCACertificateParams)
Parameters to define a mitigation action that changes the state of the CA certificate to inactive.
|
void |
setUpdateDeviceCertificateParams(UpdateDeviceCertificateParams updateDeviceCertificateParams)
Parameters to define a mitigation action that changes the state of the device certificate to inactive.
|
String |
toString()
Returns a string representation of this object.
|
MitigationActionParams |
withAddThingsToThingGroupParams(AddThingsToThingGroupParams addThingsToThingGroupParams)
Parameters to define a mitigation action that moves devices associated with a certificate to one or more
specified thing groups, typically for quarantine.
|
MitigationActionParams |
withEnableIoTLoggingParams(EnableIoTLoggingParams enableIoTLoggingParams)
Parameters to define a mitigation action that enables AWS IoT logging at a specified level of detail.
|
MitigationActionParams |
withPublishFindingToSnsParams(PublishFindingToSnsParams publishFindingToSnsParams)
Parameters to define a mitigation action that publishes findings to Amazon Simple Notification Service (Amazon
SNS.
|
MitigationActionParams |
withReplaceDefaultPolicyVersionParams(ReplaceDefaultPolicyVersionParams replaceDefaultPolicyVersionParams)
Parameters to define a mitigation action that adds a blank policy to restrict permissions.
|
MitigationActionParams |
withUpdateCACertificateParams(UpdateCACertificateParams updateCACertificateParams)
Parameters to define a mitigation action that changes the state of the CA certificate to inactive.
|
MitigationActionParams |
withUpdateDeviceCertificateParams(UpdateDeviceCertificateParams updateDeviceCertificateParams)
Parameters to define a mitigation action that changes the state of the device certificate to inactive.
|
public void setUpdateDeviceCertificateParams(UpdateDeviceCertificateParams updateDeviceCertificateParams)
Parameters to define a mitigation action that changes the state of the device certificate to inactive.
updateDeviceCertificateParams
- Parameters to define a mitigation action that changes the state of the device certificate to inactive.public UpdateDeviceCertificateParams getUpdateDeviceCertificateParams()
Parameters to define a mitigation action that changes the state of the device certificate to inactive.
public MitigationActionParams withUpdateDeviceCertificateParams(UpdateDeviceCertificateParams updateDeviceCertificateParams)
Parameters to define a mitigation action that changes the state of the device certificate to inactive.
updateDeviceCertificateParams
- Parameters to define a mitigation action that changes the state of the device certificate to inactive.public void setUpdateCACertificateParams(UpdateCACertificateParams updateCACertificateParams)
Parameters to define a mitigation action that changes the state of the CA certificate to inactive.
updateCACertificateParams
- Parameters to define a mitigation action that changes the state of the CA certificate to inactive.public UpdateCACertificateParams getUpdateCACertificateParams()
Parameters to define a mitigation action that changes the state of the CA certificate to inactive.
public MitigationActionParams withUpdateCACertificateParams(UpdateCACertificateParams updateCACertificateParams)
Parameters to define a mitigation action that changes the state of the CA certificate to inactive.
updateCACertificateParams
- Parameters to define a mitigation action that changes the state of the CA certificate to inactive.public void setAddThingsToThingGroupParams(AddThingsToThingGroupParams addThingsToThingGroupParams)
Parameters to define a mitigation action that moves devices associated with a certificate to one or more specified thing groups, typically for quarantine.
addThingsToThingGroupParams
- Parameters to define a mitigation action that moves devices associated with a certificate to one or more
specified thing groups, typically for quarantine.public AddThingsToThingGroupParams getAddThingsToThingGroupParams()
Parameters to define a mitigation action that moves devices associated with a certificate to one or more specified thing groups, typically for quarantine.
public MitigationActionParams withAddThingsToThingGroupParams(AddThingsToThingGroupParams addThingsToThingGroupParams)
Parameters to define a mitigation action that moves devices associated with a certificate to one or more specified thing groups, typically for quarantine.
addThingsToThingGroupParams
- Parameters to define a mitigation action that moves devices associated with a certificate to one or more
specified thing groups, typically for quarantine.public void setReplaceDefaultPolicyVersionParams(ReplaceDefaultPolicyVersionParams replaceDefaultPolicyVersionParams)
Parameters to define a mitigation action that adds a blank policy to restrict permissions.
replaceDefaultPolicyVersionParams
- Parameters to define a mitigation action that adds a blank policy to restrict permissions.public ReplaceDefaultPolicyVersionParams getReplaceDefaultPolicyVersionParams()
Parameters to define a mitigation action that adds a blank policy to restrict permissions.
public MitigationActionParams withReplaceDefaultPolicyVersionParams(ReplaceDefaultPolicyVersionParams replaceDefaultPolicyVersionParams)
Parameters to define a mitigation action that adds a blank policy to restrict permissions.
replaceDefaultPolicyVersionParams
- Parameters to define a mitigation action that adds a blank policy to restrict permissions.public void setEnableIoTLoggingParams(EnableIoTLoggingParams enableIoTLoggingParams)
Parameters to define a mitigation action that enables AWS IoT logging at a specified level of detail.
enableIoTLoggingParams
- Parameters to define a mitigation action that enables AWS IoT logging at a specified level of detail.public EnableIoTLoggingParams getEnableIoTLoggingParams()
Parameters to define a mitigation action that enables AWS IoT logging at a specified level of detail.
public MitigationActionParams withEnableIoTLoggingParams(EnableIoTLoggingParams enableIoTLoggingParams)
Parameters to define a mitigation action that enables AWS IoT logging at a specified level of detail.
enableIoTLoggingParams
- Parameters to define a mitigation action that enables AWS IoT logging at a specified level of detail.public void setPublishFindingToSnsParams(PublishFindingToSnsParams publishFindingToSnsParams)
Parameters to define a mitigation action that publishes findings to Amazon Simple Notification Service (Amazon SNS. You can implement your own custom actions in response to the Amazon SNS messages.
publishFindingToSnsParams
- Parameters to define a mitigation action that publishes findings to Amazon Simple Notification Service
(Amazon SNS. You can implement your own custom actions in response to the Amazon SNS messages.public PublishFindingToSnsParams getPublishFindingToSnsParams()
Parameters to define a mitigation action that publishes findings to Amazon Simple Notification Service (Amazon SNS. You can implement your own custom actions in response to the Amazon SNS messages.
public MitigationActionParams withPublishFindingToSnsParams(PublishFindingToSnsParams publishFindingToSnsParams)
Parameters to define a mitigation action that publishes findings to Amazon Simple Notification Service (Amazon SNS. You can implement your own custom actions in response to the Amazon SNS messages.
publishFindingToSnsParams
- Parameters to define a mitigation action that publishes findings to Amazon Simple Notification Service
(Amazon SNS. You can implement your own custom actions in response to the Amazon SNS messages.public String toString()
toString
in class Object
Object.toString()
public MitigationActionParams clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.