@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. Most managed rule groups don't require this.
Use this for the account takeover prevention managed rule group AWSManagedRulesATPRuleSet, to provide
information about the sign-in page of your application.
You can provide multiple individual ManagedRuleGroupConfig objects for any rule group configuration, for
example UsernameField and PasswordField. The configuration that you provide depends on the
needs of the managed rule group. For the ATP managed rule group, you provide the following individual configuration
objects: LoginPath, PasswordField, PayloadType and UsernameField.
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) |
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 |
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 |
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 String toString()
toString in class ObjectObject.toString()public ManagedRuleGroupConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.