@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.ApplicationLayerAutomaticResponseStatus
public String getStatus()
Indicates whether automatic application layer DDoS mitigation is enabled for the protection.
ApplicationLayerAutomaticResponseStatus
public 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.ApplicationLayerAutomaticResponseStatus
public 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.ApplicationLayerAutomaticResponseStatus
public void setAction(ResponseAction action)
action
- public ResponseAction getAction()
public ApplicationLayerAutomaticResponseConfiguration withAction(ResponseAction action)
action
- public String toString()
toString
in class Object
Object.toString()
public ApplicationLayerAutomaticResponseConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.