public class MitigationActionParams
extends java.lang.Object
implements java.io.Serializable
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 |
---|---|
boolean |
equals(java.lang.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 |
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.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
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 UpdateDeviceCertificateParams getUpdateDeviceCertificateParams()
Parameters to define a mitigation action that changes the state of the device certificate to inactive.
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 MitigationActionParams withUpdateDeviceCertificateParams(UpdateDeviceCertificateParams updateDeviceCertificateParams)
Parameters to define a mitigation action that changes the state of the device certificate to inactive.
Returns a reference to this object so that method calls can be chained together.
updateDeviceCertificateParams
- Parameters to define a mitigation action that changes the state of the device certificate to inactive.
public UpdateCACertificateParams getUpdateCACertificateParams()
Parameters to define a mitigation action that changes the state of the CA certificate to inactive.
Parameters to define a mitigation action that changes the state of the CA 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 MitigationActionParams withUpdateCACertificateParams(UpdateCACertificateParams updateCACertificateParams)
Parameters to define a mitigation action that changes the state of the CA certificate to inactive.
Returns a reference to this object so that method calls can be chained together.
updateCACertificateParams
- Parameters to define a mitigation action that changes the state of the CA certificate to inactive.
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.
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 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 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.
Returns a reference to this object so that method calls can be chained together.
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 ReplaceDefaultPolicyVersionParams getReplaceDefaultPolicyVersionParams()
Parameters to define a mitigation action that adds a blank policy to restrict permissions.
Parameters to define a mitigation action that adds a blank policy to restrict permissions.
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 MitigationActionParams withReplaceDefaultPolicyVersionParams(ReplaceDefaultPolicyVersionParams replaceDefaultPolicyVersionParams)
Parameters to define a mitigation action that adds a blank policy to restrict permissions.
Returns a reference to this object so that method calls can be chained together.
replaceDefaultPolicyVersionParams
- Parameters to define a mitigation action that adds a blank policy to restrict permissions.
public EnableIoTLoggingParams getEnableIoTLoggingParams()
Parameters to define a mitigation action that enables AWS IoT logging at a specified level of detail.
Parameters to define a mitigation action that enables AWS IoT logging at a specified level of detail.
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 MitigationActionParams withEnableIoTLoggingParams(EnableIoTLoggingParams enableIoTLoggingParams)
Parameters to define a mitigation action that enables AWS IoT logging at a specified level of detail.
Returns a reference to this object so that method calls can be chained together.
enableIoTLoggingParams
- Parameters to define a mitigation action that enables AWS IoT logging at a specified level of detail.
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.
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 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 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.
Returns a reference to this object so that method calls can be chained together.
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 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.