@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ApplicationLayerAutomaticResponseConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The automatic application layer DDoS mitigation settings for a Protection. This configuration determines whether Shield Advanced automatically manages rules in the web ACL in order to respond to application layer events that Shield Advanced determines to be DDoS attacks.
| Constructor and Description |
|---|
ApplicationLayerAutomaticResponseConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
ApplicationLayerAutomaticResponseConfiguration |
clone() |
boolean |
equals(Object obj) |
ResponseAction |
getAction() |
String |
getStatus()
Indicates whether automatic application layer DDoS mitigation is enabled for the protection.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAction(ResponseAction action) |
void |
setStatus(String status)
Indicates whether automatic application layer DDoS mitigation is enabled for the protection.
|
String |
toString()
Returns a string representation of this object.
|
ApplicationLayerAutomaticResponseConfiguration |
withAction(ResponseAction action) |
ApplicationLayerAutomaticResponseConfiguration |
withStatus(ApplicationLayerAutomaticResponseStatus status)
Indicates whether automatic application layer DDoS mitigation is enabled for the protection.
|
ApplicationLayerAutomaticResponseConfiguration |
withStatus(String status)
Indicates whether automatic application layer DDoS mitigation is enabled for the protection.
|
public ApplicationLayerAutomaticResponseConfiguration()
public void setStatus(String status)
Indicates whether automatic application layer DDoS mitigation is enabled for the protection.
status - Indicates whether automatic application layer DDoS mitigation is enabled for the protection.ApplicationLayerAutomaticResponseStatuspublic String getStatus()
Indicates whether automatic application layer DDoS mitigation is enabled for the protection.
ApplicationLayerAutomaticResponseStatuspublic ApplicationLayerAutomaticResponseConfiguration withStatus(String status)
Indicates whether automatic application layer DDoS mitigation is enabled for the protection.
status - Indicates whether automatic application layer DDoS mitigation is enabled for the protection.ApplicationLayerAutomaticResponseStatuspublic ApplicationLayerAutomaticResponseConfiguration withStatus(ApplicationLayerAutomaticResponseStatus status)
Indicates whether automatic application layer DDoS mitigation is enabled for the protection.
status - Indicates whether automatic application layer DDoS mitigation is enabled for the protection.ApplicationLayerAutomaticResponseStatuspublic void setAction(ResponseAction action)
action - public ResponseAction getAction()
public ApplicationLayerAutomaticResponseConfiguration withAction(ResponseAction action)
action - public String toString()
toString in class ObjectObject.toString()public ApplicationLayerAutomaticResponseConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.