@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ManagedRuleGroupConfig extends Object implements Serializable, Cloneable, StructuredPojo
Additional information that's used by a managed rule group. Many managed rule groups don't require this.
Use the AWSManagedRulesBotControlRuleSet configuration object to configure the protection level that you
want the Bot Control rule group to use.
For example specifications, see the examples section of CreateWebACL.
| Constructor and Description |
|---|
ManagedRuleGroupConfig() |
| Modifier and Type | Method and Description |
|---|---|
ManagedRuleGroupConfig |
clone() |
boolean |
equals(Object obj) |
AWSManagedRulesBotControlRuleSet |
getAWSManagedRulesBotControlRuleSet()
Additional configuration for using the Bot Control managed rule group.
|
String |
getLoginPath()
The path of the login endpoint for your application.
|
PasswordField |
getPasswordField()
Details about your login page password field.
|
String |
getPayloadType()
The payload type for your login endpoint, either JSON or form encoded.
|
UsernameField |
getUsernameField()
Details about your login page username field.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAWSManagedRulesBotControlRuleSet(AWSManagedRulesBotControlRuleSet aWSManagedRulesBotControlRuleSet)
Additional configuration for using the Bot Control managed rule group.
|
void |
setLoginPath(String loginPath)
The path of the login endpoint for your application.
|
void |
setPasswordField(PasswordField passwordField)
Details about your login page password field.
|
void |
setPayloadType(String payloadType)
The payload type for your login endpoint, either JSON or form encoded.
|
void |
setUsernameField(UsernameField usernameField)
Details about your login page username field.
|
String |
toString()
Returns a string representation of this object.
|
ManagedRuleGroupConfig |
withAWSManagedRulesBotControlRuleSet(AWSManagedRulesBotControlRuleSet aWSManagedRulesBotControlRuleSet)
Additional configuration for using the Bot Control managed rule group.
|
ManagedRuleGroupConfig |
withLoginPath(String loginPath)
The path of the login endpoint for your application.
|
ManagedRuleGroupConfig |
withPasswordField(PasswordField passwordField)
Details about your login page password field.
|
ManagedRuleGroupConfig |
withPayloadType(PayloadType payloadType)
The payload type for your login endpoint, either JSON or form encoded.
|
ManagedRuleGroupConfig |
withPayloadType(String payloadType)
The payload type for your login endpoint, either JSON or form encoded.
|
ManagedRuleGroupConfig |
withUsernameField(UsernameField usernameField)
Details about your login page username field.
|
public void setLoginPath(String loginPath)
The path of the login endpoint for your application. For example, for the URL
https://example.com/web/login, you would provide the path /web/login.
loginPath - The path of the login endpoint for your application. For example, for the URL
https://example.com/web/login, you would provide the path /web/login.public String getLoginPath()
The path of the login endpoint for your application. For example, for the URL
https://example.com/web/login, you would provide the path /web/login.
https://example.com/web/login, you would provide the path /web/login.public ManagedRuleGroupConfig withLoginPath(String loginPath)
The path of the login endpoint for your application. For example, for the URL
https://example.com/web/login, you would provide the path /web/login.
loginPath - The path of the login endpoint for your application. For example, for the URL
https://example.com/web/login, you would provide the path /web/login.public void setPayloadType(String payloadType)
The payload type for your login endpoint, either JSON or form encoded.
payloadType - The payload type for your login endpoint, either JSON or form encoded.PayloadTypepublic String getPayloadType()
The payload type for your login endpoint, either JSON or form encoded.
PayloadTypepublic ManagedRuleGroupConfig withPayloadType(String payloadType)
The payload type for your login endpoint, either JSON or form encoded.
payloadType - The payload type for your login endpoint, either JSON or form encoded.PayloadTypepublic ManagedRuleGroupConfig withPayloadType(PayloadType payloadType)
The payload type for your login endpoint, either JSON or form encoded.
payloadType - The payload type for your login endpoint, either JSON or form encoded.PayloadTypepublic void setUsernameField(UsernameField usernameField)
Details about your login page username field.
usernameField - Details about your login page username field.public UsernameField getUsernameField()
Details about your login page username field.
public ManagedRuleGroupConfig withUsernameField(UsernameField usernameField)
Details about your login page username field.
usernameField - Details about your login page username field.public void setPasswordField(PasswordField passwordField)
Details about your login page password field.
passwordField - Details about your login page password field.public PasswordField getPasswordField()
Details about your login page password field.
public ManagedRuleGroupConfig withPasswordField(PasswordField passwordField)
Details about your login page password field.
passwordField - Details about your login page password field.public void setAWSManagedRulesBotControlRuleSet(AWSManagedRulesBotControlRuleSet aWSManagedRulesBotControlRuleSet)
Additional configuration for using the Bot Control managed rule group. Use this to specify the inspection level that you want to use. For information about using the Bot Control managed rule group, see WAF Bot Control rule group and WAF Bot Control in the WAF Developer Guide.
aWSManagedRulesBotControlRuleSet - Additional configuration for using the Bot Control managed rule group. Use this to specify the inspection
level that you want to use. For information about using the Bot Control managed rule group, see WAF Bot
Control rule group and WAF Bot Control in
the WAF Developer Guide.public AWSManagedRulesBotControlRuleSet getAWSManagedRulesBotControlRuleSet()
Additional configuration for using the Bot Control managed rule group. Use this to specify the inspection level that you want to use. For information about using the Bot Control managed rule group, see WAF Bot Control rule group and WAF Bot Control in the WAF Developer Guide.
public ManagedRuleGroupConfig withAWSManagedRulesBotControlRuleSet(AWSManagedRulesBotControlRuleSet aWSManagedRulesBotControlRuleSet)
Additional configuration for using the Bot Control managed rule group. Use this to specify the inspection level that you want to use. For information about using the Bot Control managed rule group, see WAF Bot Control rule group and WAF Bot Control in the WAF Developer Guide.
aWSManagedRulesBotControlRuleSet - Additional configuration for using the Bot Control managed rule group. Use this to specify the inspection
level that you want to use. For information about using the Bot Control managed rule group, see WAF Bot
Control rule group and WAF Bot Control in
the WAF Developer Guide.public String toString()
toString in class ObjectObject.toString()public ManagedRuleGroupConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.