@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()
Specifies the action setting that Shield Advanced should use in the WAF rules that it creates on behalf of the
protected resource in response to DDoS attacks.
|
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)
Specifies the action setting that Shield Advanced should use in the WAF rules that it creates on behalf of the
protected resource in response to DDoS attacks.
|
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)
Specifies the action setting that Shield Advanced should use in the WAF rules that it creates on behalf of the
protected resource in response to DDoS attacks.
|
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)
Specifies the action setting that Shield Advanced should use in the WAF rules that it creates on behalf of the protected resource in response to DDoS attacks. You specify this as part of the configuration for the automatic application layer DDoS mitigation feature, when you enable or update automatic mitigation. Shield Advanced creates the WAF rules in a Shield Advanced-managed rule group, inside the web ACL that you have associated with the resource.
action
- Specifies the action setting that Shield Advanced should use in the WAF rules that it creates on behalf of
the protected resource in response to DDoS attacks. You specify this as part of the configuration for the
automatic application layer DDoS mitigation feature, when you enable or update automatic mitigation.
Shield Advanced creates the WAF rules in a Shield Advanced-managed rule group, inside the web ACL that you
have associated with the resource.public ResponseAction getAction()
Specifies the action setting that Shield Advanced should use in the WAF rules that it creates on behalf of the protected resource in response to DDoS attacks. You specify this as part of the configuration for the automatic application layer DDoS mitigation feature, when you enable or update automatic mitigation. Shield Advanced creates the WAF rules in a Shield Advanced-managed rule group, inside the web ACL that you have associated with the resource.
public ApplicationLayerAutomaticResponseConfiguration withAction(ResponseAction action)
Specifies the action setting that Shield Advanced should use in the WAF rules that it creates on behalf of the protected resource in response to DDoS attacks. You specify this as part of the configuration for the automatic application layer DDoS mitigation feature, when you enable or update automatic mitigation. Shield Advanced creates the WAF rules in a Shield Advanced-managed rule group, inside the web ACL that you have associated with the resource.
action
- Specifies the action setting that Shield Advanced should use in the WAF rules that it creates on behalf of
the protected resource in response to DDoS attacks. You specify this as part of the configuration for the
automatic application layer DDoS mitigation feature, when you enable or update automatic mitigation.
Shield Advanced creates the WAF rules in a Shield Advanced-managed rule group, inside the web ACL that you
have associated with the resource.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.