All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazonaws.services.wafv2.model.RequestInspectionACFP Maven / Gradle / Ivy

Go to download

The AWS Java SDK for AWS WAFV2 module holds the client classes that are used for communicating with AWS WAFV2 Service

There is a newer version: 1.12.767
Show newest version
/*
 * Copyright 2019-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
 * the License. A copy of the License is located at
 * 
 * http://aws.amazon.com/apache2.0
 * 
 * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
 * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
 * and limitations under the License.
 */
package com.amazonaws.services.wafv2.model;

import java.io.Serializable;
import javax.annotation.Generated;
import com.amazonaws.protocol.StructuredPojo;
import com.amazonaws.protocol.ProtocolMarshaller;

/**
 * 

* The criteria for inspecting account creation requests, used by the ACFP rule group to validate and track account * creation attempts. *

*

* This is part of the AWSManagedRulesACFPRuleSet configuration in ManagedRuleGroupConfig. *

*

* In these settings, you specify how your application accepts account creation attempts by providing the request * payload type and the names of the fields within the request body where the username, password, email, and primary * address and phone number fields are provided. *

* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class RequestInspectionACFP implements Serializable, Cloneable, StructuredPojo { /** *

* The payload type for your account creation endpoint, either JSON or form encoded. *

*/ private String payloadType; /** *

* The name of the field in the request payload that contains your customer's username. *

*

* How you specify this depends on the request inspection payload type. *

*
    *
  • *

    * For JSON payloads, specify the field name in JSON pointer syntax. For information about the JSON Pointer syntax, * see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer. *

    *

    * For example, for the JSON payload { "form": { "username": "THE_USERNAME" } }, the username field * specification is /form/username. *

    *
  • *
  • *

    * For form encoded payload types, use the HTML form names. *

    *

    * For example, for an HTML form with the input element named username1, the username field * specification is username1 *

    *
  • *
*/ private UsernameField usernameField; /** *

* The name of the field in the request payload that contains your customer's password. *

*

* How you specify this depends on the request inspection payload type. *

*
    *
  • *

    * For JSON payloads, specify the field name in JSON pointer syntax. For information about the JSON Pointer syntax, * see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer. *

    *

    * For example, for the JSON payload { "form": { "password": "THE_PASSWORD" } }, the password field * specification is /form/password. *

    *
  • *
  • *

    * For form encoded payload types, use the HTML form names. *

    *

    * For example, for an HTML form with the input element named password1, the password field * specification is password1. *

    *
  • *
*/ private PasswordField passwordField; /** *

* The name of the field in the request payload that contains your customer's email. *

*

* How you specify this depends on the request inspection payload type. *

*
    *
  • *

    * For JSON payloads, specify the field name in JSON pointer syntax. For information about the JSON Pointer syntax, * see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer. *

    *

    * For example, for the JSON payload { "form": { "email": "THE_EMAIL" } }, the email field * specification is /form/email. *

    *
  • *
  • *

    * For form encoded payload types, use the HTML form names. *

    *

    * For example, for an HTML form with the input element named email1, the email field specification is * email1. *

    *
  • *
*/ private EmailField emailField; /** *

* The names of the fields in the request payload that contain your customer's primary phone number. *

*

* Order the phone number fields in the array exactly as they are ordered in the request payload. *

*

* How you specify the phone number fields depends on the request inspection payload type. *

*
    *
  • *

    * For JSON payloads, specify the field identifiers in JSON pointer syntax. For information about the JSON Pointer * syntax, see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer. *

    *

    * For example, for the JSON payload * { "form": { "primaryphoneline1": "THE_PHONE1", "primaryphoneline2": "THE_PHONE2", "primaryphoneline3": "THE_PHONE3" } } * , the phone number field identifiers are /form/primaryphoneline1, * /form/primaryphoneline2, and /form/primaryphoneline3. *

    *
  • *
  • *

    * For form encoded payload types, use the HTML form names. *

    *

    * For example, for an HTML form with input elements named primaryphoneline1, * primaryphoneline2, and primaryphoneline3, the phone number field identifiers are * primaryphoneline1, primaryphoneline2, and primaryphoneline3. *

    *
  • *
*/ private java.util.List phoneNumberFields; /** *

* The names of the fields in the request payload that contain your customer's primary physical address. *

*

* Order the address fields in the array exactly as they are ordered in the request payload. *

*

* How you specify the address fields depends on the request inspection payload type. *

*
    *
  • *

    * For JSON payloads, specify the field identifiers in JSON pointer syntax. For information about the JSON Pointer * syntax, see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer. *

    *

    * For example, for the JSON payload * { "form": { "primaryaddressline1": "THE_ADDRESS1", "primaryaddressline2": "THE_ADDRESS2", "primaryaddressline3": "THE_ADDRESS3" } } * , the address field idenfiers are /form/primaryaddressline1, /form/primaryaddressline2, * and /form/primaryaddressline3. *

    *
  • *
  • *

    * For form encoded payload types, use the HTML form names. *

    *

    * For example, for an HTML form with input elements named primaryaddressline1, * primaryaddressline2, and primaryaddressline3, the address fields identifiers are * primaryaddressline1, primaryaddressline2, and primaryaddressline3. *

    *
  • *
*/ private java.util.List addressFields; /** *

* The payload type for your account creation endpoint, either JSON or form encoded. *

* * @param payloadType * The payload type for your account creation endpoint, either JSON or form encoded. * @see PayloadType */ public void setPayloadType(String payloadType) { this.payloadType = payloadType; } /** *

* The payload type for your account creation endpoint, either JSON or form encoded. *

* * @return The payload type for your account creation endpoint, either JSON or form encoded. * @see PayloadType */ public String getPayloadType() { return this.payloadType; } /** *

* The payload type for your account creation endpoint, either JSON or form encoded. *

* * @param payloadType * The payload type for your account creation endpoint, either JSON or form encoded. * @return Returns a reference to this object so that method calls can be chained together. * @see PayloadType */ public RequestInspectionACFP withPayloadType(String payloadType) { setPayloadType(payloadType); return this; } /** *

* The payload type for your account creation endpoint, either JSON or form encoded. *

* * @param payloadType * The payload type for your account creation endpoint, either JSON or form encoded. * @return Returns a reference to this object so that method calls can be chained together. * @see PayloadType */ public RequestInspectionACFP withPayloadType(PayloadType payloadType) { this.payloadType = payloadType.toString(); return this; } /** *

* The name of the field in the request payload that contains your customer's username. *

*

* How you specify this depends on the request inspection payload type. *

*
    *
  • *

    * For JSON payloads, specify the field name in JSON pointer syntax. For information about the JSON Pointer syntax, * see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer. *

    *

    * For example, for the JSON payload { "form": { "username": "THE_USERNAME" } }, the username field * specification is /form/username. *

    *
  • *
  • *

    * For form encoded payload types, use the HTML form names. *

    *

    * For example, for an HTML form with the input element named username1, the username field * specification is username1 *

    *
  • *
* * @param usernameField * The name of the field in the request payload that contains your customer's username.

*

* How you specify this depends on the request inspection payload type. *

*
    *
  • *

    * For JSON payloads, specify the field name in JSON pointer syntax. For information about the JSON Pointer * syntax, see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer. *

    *

    * For example, for the JSON payload { "form": { "username": "THE_USERNAME" } }, the username * field specification is /form/username. *

    *
  • *
  • *

    * For form encoded payload types, use the HTML form names. *

    *

    * For example, for an HTML form with the input element named username1, the username field * specification is username1 *

    *
  • */ public void setUsernameField(UsernameField usernameField) { this.usernameField = usernameField; } /** *

    * The name of the field in the request payload that contains your customer's username. *

    *

    * How you specify this depends on the request inspection payload type. *

    *
      *
    • *

      * For JSON payloads, specify the field name in JSON pointer syntax. For information about the JSON Pointer syntax, * see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer. *

      *

      * For example, for the JSON payload { "form": { "username": "THE_USERNAME" } }, the username field * specification is /form/username. *

      *
    • *
    • *

      * For form encoded payload types, use the HTML form names. *

      *

      * For example, for an HTML form with the input element named username1, the username field * specification is username1 *

      *
    • *
    * * @return The name of the field in the request payload that contains your customer's username.

    *

    * How you specify this depends on the request inspection payload type. *

    *
      *
    • *

      * For JSON payloads, specify the field name in JSON pointer syntax. For information about the JSON Pointer * syntax, see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer. *

      *

      * For example, for the JSON payload { "form": { "username": "THE_USERNAME" } }, the username * field specification is /form/username. *

      *
    • *
    • *

      * For form encoded payload types, use the HTML form names. *

      *

      * For example, for an HTML form with the input element named username1, the username field * specification is username1 *

      *
    • */ public UsernameField getUsernameField() { return this.usernameField; } /** *

      * The name of the field in the request payload that contains your customer's username. *

      *

      * How you specify this depends on the request inspection payload type. *

      *
        *
      • *

        * For JSON payloads, specify the field name in JSON pointer syntax. For information about the JSON Pointer syntax, * see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer. *

        *

        * For example, for the JSON payload { "form": { "username": "THE_USERNAME" } }, the username field * specification is /form/username. *

        *
      • *
      • *

        * For form encoded payload types, use the HTML form names. *

        *

        * For example, for an HTML form with the input element named username1, the username field * specification is username1 *

        *
      • *
      * * @param usernameField * The name of the field in the request payload that contains your customer's username.

      *

      * How you specify this depends on the request inspection payload type. *

      *
        *
      • *

        * For JSON payloads, specify the field name in JSON pointer syntax. For information about the JSON Pointer * syntax, see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer. *

        *

        * For example, for the JSON payload { "form": { "username": "THE_USERNAME" } }, the username * field specification is /form/username. *

        *
      • *
      • *

        * For form encoded payload types, use the HTML form names. *

        *

        * For example, for an HTML form with the input element named username1, the username field * specification is username1 *

        *
      • * @return Returns a reference to this object so that method calls can be chained together. */ public RequestInspectionACFP withUsernameField(UsernameField usernameField) { setUsernameField(usernameField); return this; } /** *

        * The name of the field in the request payload that contains your customer's password. *

        *

        * How you specify this depends on the request inspection payload type. *

        *
          *
        • *

          * For JSON payloads, specify the field name in JSON pointer syntax. For information about the JSON Pointer syntax, * see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer. *

          *

          * For example, for the JSON payload { "form": { "password": "THE_PASSWORD" } }, the password field * specification is /form/password. *

          *
        • *
        • *

          * For form encoded payload types, use the HTML form names. *

          *

          * For example, for an HTML form with the input element named password1, the password field * specification is password1. *

          *
        • *
        * * @param passwordField * The name of the field in the request payload that contains your customer's password.

        *

        * How you specify this depends on the request inspection payload type. *

        *
          *
        • *

          * For JSON payloads, specify the field name in JSON pointer syntax. For information about the JSON Pointer * syntax, see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer. *

          *

          * For example, for the JSON payload { "form": { "password": "THE_PASSWORD" } }, the password * field specification is /form/password. *

          *
        • *
        • *

          * For form encoded payload types, use the HTML form names. *

          *

          * For example, for an HTML form with the input element named password1, the password field * specification is password1. *

          *
        • */ public void setPasswordField(PasswordField passwordField) { this.passwordField = passwordField; } /** *

          * The name of the field in the request payload that contains your customer's password. *

          *

          * How you specify this depends on the request inspection payload type. *

          *
            *
          • *

            * For JSON payloads, specify the field name in JSON pointer syntax. For information about the JSON Pointer syntax, * see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer. *

            *

            * For example, for the JSON payload { "form": { "password": "THE_PASSWORD" } }, the password field * specification is /form/password. *

            *
          • *
          • *

            * For form encoded payload types, use the HTML form names. *

            *

            * For example, for an HTML form with the input element named password1, the password field * specification is password1. *

            *
          • *
          * * @return The name of the field in the request payload that contains your customer's password.

          *

          * How you specify this depends on the request inspection payload type. *

          *
            *
          • *

            * For JSON payloads, specify the field name in JSON pointer syntax. For information about the JSON Pointer * syntax, see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer. *

            *

            * For example, for the JSON payload { "form": { "password": "THE_PASSWORD" } }, the password * field specification is /form/password. *

            *
          • *
          • *

            * For form encoded payload types, use the HTML form names. *

            *

            * For example, for an HTML form with the input element named password1, the password field * specification is password1. *

            *
          • */ public PasswordField getPasswordField() { return this.passwordField; } /** *

            * The name of the field in the request payload that contains your customer's password. *

            *

            * How you specify this depends on the request inspection payload type. *

            *
              *
            • *

              * For JSON payloads, specify the field name in JSON pointer syntax. For information about the JSON Pointer syntax, * see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer. *

              *

              * For example, for the JSON payload { "form": { "password": "THE_PASSWORD" } }, the password field * specification is /form/password. *

              *
            • *
            • *

              * For form encoded payload types, use the HTML form names. *

              *

              * For example, for an HTML form with the input element named password1, the password field * specification is password1. *

              *
            • *
            * * @param passwordField * The name of the field in the request payload that contains your customer's password.

            *

            * How you specify this depends on the request inspection payload type. *

            *
              *
            • *

              * For JSON payloads, specify the field name in JSON pointer syntax. For information about the JSON Pointer * syntax, see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer. *

              *

              * For example, for the JSON payload { "form": { "password": "THE_PASSWORD" } }, the password * field specification is /form/password. *

              *
            • *
            • *

              * For form encoded payload types, use the HTML form names. *

              *

              * For example, for an HTML form with the input element named password1, the password field * specification is password1. *

              *
            • * @return Returns a reference to this object so that method calls can be chained together. */ public RequestInspectionACFP withPasswordField(PasswordField passwordField) { setPasswordField(passwordField); return this; } /** *

              * The name of the field in the request payload that contains your customer's email. *

              *

              * How you specify this depends on the request inspection payload type. *

              *
                *
              • *

                * For JSON payloads, specify the field name in JSON pointer syntax. For information about the JSON Pointer syntax, * see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer. *

                *

                * For example, for the JSON payload { "form": { "email": "THE_EMAIL" } }, the email field * specification is /form/email. *

                *
              • *
              • *

                * For form encoded payload types, use the HTML form names. *

                *

                * For example, for an HTML form with the input element named email1, the email field specification is * email1. *

                *
              • *
              * * @param emailField * The name of the field in the request payload that contains your customer's email.

              *

              * How you specify this depends on the request inspection payload type. *

              *
                *
              • *

                * For JSON payloads, specify the field name in JSON pointer syntax. For information about the JSON Pointer * syntax, see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer. *

                *

                * For example, for the JSON payload { "form": { "email": "THE_EMAIL" } }, the email field * specification is /form/email. *

                *
              • *
              • *

                * For form encoded payload types, use the HTML form names. *

                *

                * For example, for an HTML form with the input element named email1, the email field * specification is email1. *

                *
              • */ public void setEmailField(EmailField emailField) { this.emailField = emailField; } /** *

                * The name of the field in the request payload that contains your customer's email. *

                *

                * How you specify this depends on the request inspection payload type. *

                *
                  *
                • *

                  * For JSON payloads, specify the field name in JSON pointer syntax. For information about the JSON Pointer syntax, * see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer. *

                  *

                  * For example, for the JSON payload { "form": { "email": "THE_EMAIL" } }, the email field * specification is /form/email. *

                  *
                • *
                • *

                  * For form encoded payload types, use the HTML form names. *

                  *

                  * For example, for an HTML form with the input element named email1, the email field specification is * email1. *

                  *
                • *
                * * @return The name of the field in the request payload that contains your customer's email.

                *

                * How you specify this depends on the request inspection payload type. *

                *
                  *
                • *

                  * For JSON payloads, specify the field name in JSON pointer syntax. For information about the JSON Pointer * syntax, see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer. *

                  *

                  * For example, for the JSON payload { "form": { "email": "THE_EMAIL" } }, the email field * specification is /form/email. *

                  *
                • *
                • *

                  * For form encoded payload types, use the HTML form names. *

                  *

                  * For example, for an HTML form with the input element named email1, the email field * specification is email1. *

                  *
                • */ public EmailField getEmailField() { return this.emailField; } /** *

                  * The name of the field in the request payload that contains your customer's email. *

                  *

                  * How you specify this depends on the request inspection payload type. *

                  *
                    *
                  • *

                    * For JSON payloads, specify the field name in JSON pointer syntax. For information about the JSON Pointer syntax, * see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer. *

                    *

                    * For example, for the JSON payload { "form": { "email": "THE_EMAIL" } }, the email field * specification is /form/email. *

                    *
                  • *
                  • *

                    * For form encoded payload types, use the HTML form names. *

                    *

                    * For example, for an HTML form with the input element named email1, the email field specification is * email1. *

                    *
                  • *
                  * * @param emailField * The name of the field in the request payload that contains your customer's email.

                  *

                  * How you specify this depends on the request inspection payload type. *

                  *
                    *
                  • *

                    * For JSON payloads, specify the field name in JSON pointer syntax. For information about the JSON Pointer * syntax, see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer. *

                    *

                    * For example, for the JSON payload { "form": { "email": "THE_EMAIL" } }, the email field * specification is /form/email. *

                    *
                  • *
                  • *

                    * For form encoded payload types, use the HTML form names. *

                    *

                    * For example, for an HTML form with the input element named email1, the email field * specification is email1. *

                    *
                  • * @return Returns a reference to this object so that method calls can be chained together. */ public RequestInspectionACFP withEmailField(EmailField emailField) { setEmailField(emailField); return this; } /** *

                    * The names of the fields in the request payload that contain your customer's primary phone number. *

                    *

                    * Order the phone number fields in the array exactly as they are ordered in the request payload. *

                    *

                    * How you specify the phone number fields depends on the request inspection payload type. *

                    *
                      *
                    • *

                      * For JSON payloads, specify the field identifiers in JSON pointer syntax. For information about the JSON Pointer * syntax, see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer. *

                      *

                      * For example, for the JSON payload * { "form": { "primaryphoneline1": "THE_PHONE1", "primaryphoneline2": "THE_PHONE2", "primaryphoneline3": "THE_PHONE3" } } * , the phone number field identifiers are /form/primaryphoneline1, * /form/primaryphoneline2, and /form/primaryphoneline3. *

                      *
                    • *
                    • *

                      * For form encoded payload types, use the HTML form names. *

                      *

                      * For example, for an HTML form with input elements named primaryphoneline1, * primaryphoneline2, and primaryphoneline3, the phone number field identifiers are * primaryphoneline1, primaryphoneline2, and primaryphoneline3. *

                      *
                    • *
                    * * @return The names of the fields in the request payload that contain your customer's primary phone number.

                    *

                    * Order the phone number fields in the array exactly as they are ordered in the request payload. *

                    *

                    * How you specify the phone number fields depends on the request inspection payload type. *

                    *
                      *
                    • *

                      * For JSON payloads, specify the field identifiers in JSON pointer syntax. For information about the JSON * Pointer syntax, see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer. *

                      *

                      * For example, for the JSON payload * { "form": { "primaryphoneline1": "THE_PHONE1", "primaryphoneline2": "THE_PHONE2", "primaryphoneline3": "THE_PHONE3" } } * , the phone number field identifiers are /form/primaryphoneline1, * /form/primaryphoneline2, and /form/primaryphoneline3. *

                      *
                    • *
                    • *

                      * For form encoded payload types, use the HTML form names. *

                      *

                      * For example, for an HTML form with input elements named primaryphoneline1, * primaryphoneline2, and primaryphoneline3, the phone number field identifiers * are primaryphoneline1, primaryphoneline2, and primaryphoneline3. *

                      *
                    • */ public java.util.List getPhoneNumberFields() { return phoneNumberFields; } /** *

                      * The names of the fields in the request payload that contain your customer's primary phone number. *

                      *

                      * Order the phone number fields in the array exactly as they are ordered in the request payload. *

                      *

                      * How you specify the phone number fields depends on the request inspection payload type. *

                      *
                        *
                      • *

                        * For JSON payloads, specify the field identifiers in JSON pointer syntax. For information about the JSON Pointer * syntax, see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer. *

                        *

                        * For example, for the JSON payload * { "form": { "primaryphoneline1": "THE_PHONE1", "primaryphoneline2": "THE_PHONE2", "primaryphoneline3": "THE_PHONE3" } } * , the phone number field identifiers are /form/primaryphoneline1, * /form/primaryphoneline2, and /form/primaryphoneline3. *

                        *
                      • *
                      • *

                        * For form encoded payload types, use the HTML form names. *

                        *

                        * For example, for an HTML form with input elements named primaryphoneline1, * primaryphoneline2, and primaryphoneline3, the phone number field identifiers are * primaryphoneline1, primaryphoneline2, and primaryphoneline3. *

                        *
                      • *
                      * * @param phoneNumberFields * The names of the fields in the request payload that contain your customer's primary phone number.

                      *

                      * Order the phone number fields in the array exactly as they are ordered in the request payload. *

                      *

                      * How you specify the phone number fields depends on the request inspection payload type. *

                      *
                        *
                      • *

                        * For JSON payloads, specify the field identifiers in JSON pointer syntax. For information about the JSON * Pointer syntax, see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer. *

                        *

                        * For example, for the JSON payload * { "form": { "primaryphoneline1": "THE_PHONE1", "primaryphoneline2": "THE_PHONE2", "primaryphoneline3": "THE_PHONE3" } } * , the phone number field identifiers are /form/primaryphoneline1, * /form/primaryphoneline2, and /form/primaryphoneline3. *

                        *
                      • *
                      • *

                        * For form encoded payload types, use the HTML form names. *

                        *

                        * For example, for an HTML form with input elements named primaryphoneline1, * primaryphoneline2, and primaryphoneline3, the phone number field identifiers are * primaryphoneline1, primaryphoneline2, and primaryphoneline3. *

                        *
                      • */ public void setPhoneNumberFields(java.util.Collection phoneNumberFields) { if (phoneNumberFields == null) { this.phoneNumberFields = null; return; } this.phoneNumberFields = new java.util.ArrayList(phoneNumberFields); } /** *

                        * The names of the fields in the request payload that contain your customer's primary phone number. *

                        *

                        * Order the phone number fields in the array exactly as they are ordered in the request payload. *

                        *

                        * How you specify the phone number fields depends on the request inspection payload type. *

                        *
                          *
                        • *

                          * For JSON payloads, specify the field identifiers in JSON pointer syntax. For information about the JSON Pointer * syntax, see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer. *

                          *

                          * For example, for the JSON payload * { "form": { "primaryphoneline1": "THE_PHONE1", "primaryphoneline2": "THE_PHONE2", "primaryphoneline3": "THE_PHONE3" } } * , the phone number field identifiers are /form/primaryphoneline1, * /form/primaryphoneline2, and /form/primaryphoneline3. *

                          *
                        • *
                        • *

                          * For form encoded payload types, use the HTML form names. *

                          *

                          * For example, for an HTML form with input elements named primaryphoneline1, * primaryphoneline2, and primaryphoneline3, the phone number field identifiers are * primaryphoneline1, primaryphoneline2, and primaryphoneline3. *

                          *
                        • *
                        *

                        * NOTE: This method appends the values to the existing list (if any). Use * {@link #setPhoneNumberFields(java.util.Collection)} or {@link #withPhoneNumberFields(java.util.Collection)} if * you want to override the existing values. *

                        * * @param phoneNumberFields * The names of the fields in the request payload that contain your customer's primary phone number.

                        *

                        * Order the phone number fields in the array exactly as they are ordered in the request payload. *

                        *

                        * How you specify the phone number fields depends on the request inspection payload type. *

                        *
                          *
                        • *

                          * For JSON payloads, specify the field identifiers in JSON pointer syntax. For information about the JSON * Pointer syntax, see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer. *

                          *

                          * For example, for the JSON payload * { "form": { "primaryphoneline1": "THE_PHONE1", "primaryphoneline2": "THE_PHONE2", "primaryphoneline3": "THE_PHONE3" } } * , the phone number field identifiers are /form/primaryphoneline1, * /form/primaryphoneline2, and /form/primaryphoneline3. *

                          *
                        • *
                        • *

                          * For form encoded payload types, use the HTML form names. *

                          *

                          * For example, for an HTML form with input elements named primaryphoneline1, * primaryphoneline2, and primaryphoneline3, the phone number field identifiers are * primaryphoneline1, primaryphoneline2, and primaryphoneline3. *

                          *
                        • * @return Returns a reference to this object so that method calls can be chained together. */ public RequestInspectionACFP withPhoneNumberFields(PhoneNumberField... phoneNumberFields) { if (this.phoneNumberFields == null) { setPhoneNumberFields(new java.util.ArrayList(phoneNumberFields.length)); } for (PhoneNumberField ele : phoneNumberFields) { this.phoneNumberFields.add(ele); } return this; } /** *

                          * The names of the fields in the request payload that contain your customer's primary phone number. *

                          *

                          * Order the phone number fields in the array exactly as they are ordered in the request payload. *

                          *

                          * How you specify the phone number fields depends on the request inspection payload type. *

                          *
                            *
                          • *

                            * For JSON payloads, specify the field identifiers in JSON pointer syntax. For information about the JSON Pointer * syntax, see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer. *

                            *

                            * For example, for the JSON payload * { "form": { "primaryphoneline1": "THE_PHONE1", "primaryphoneline2": "THE_PHONE2", "primaryphoneline3": "THE_PHONE3" } } * , the phone number field identifiers are /form/primaryphoneline1, * /form/primaryphoneline2, and /form/primaryphoneline3. *

                            *
                          • *
                          • *

                            * For form encoded payload types, use the HTML form names. *

                            *

                            * For example, for an HTML form with input elements named primaryphoneline1, * primaryphoneline2, and primaryphoneline3, the phone number field identifiers are * primaryphoneline1, primaryphoneline2, and primaryphoneline3. *

                            *
                          • *
                          * * @param phoneNumberFields * The names of the fields in the request payload that contain your customer's primary phone number.

                          *

                          * Order the phone number fields in the array exactly as they are ordered in the request payload. *

                          *

                          * How you specify the phone number fields depends on the request inspection payload type. *

                          *
                            *
                          • *

                            * For JSON payloads, specify the field identifiers in JSON pointer syntax. For information about the JSON * Pointer syntax, see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer. *

                            *

                            * For example, for the JSON payload * { "form": { "primaryphoneline1": "THE_PHONE1", "primaryphoneline2": "THE_PHONE2", "primaryphoneline3": "THE_PHONE3" } } * , the phone number field identifiers are /form/primaryphoneline1, * /form/primaryphoneline2, and /form/primaryphoneline3. *

                            *
                          • *
                          • *

                            * For form encoded payload types, use the HTML form names. *

                            *

                            * For example, for an HTML form with input elements named primaryphoneline1, * primaryphoneline2, and primaryphoneline3, the phone number field identifiers are * primaryphoneline1, primaryphoneline2, and primaryphoneline3. *

                            *
                          • * @return Returns a reference to this object so that method calls can be chained together. */ public RequestInspectionACFP withPhoneNumberFields(java.util.Collection phoneNumberFields) { setPhoneNumberFields(phoneNumberFields); return this; } /** *

                            * The names of the fields in the request payload that contain your customer's primary physical address. *

                            *

                            * Order the address fields in the array exactly as they are ordered in the request payload. *

                            *

                            * How you specify the address fields depends on the request inspection payload type. *

                            *
                              *
                            • *

                              * For JSON payloads, specify the field identifiers in JSON pointer syntax. For information about the JSON Pointer * syntax, see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer. *

                              *

                              * For example, for the JSON payload * { "form": { "primaryaddressline1": "THE_ADDRESS1", "primaryaddressline2": "THE_ADDRESS2", "primaryaddressline3": "THE_ADDRESS3" } } * , the address field idenfiers are /form/primaryaddressline1, /form/primaryaddressline2, * and /form/primaryaddressline3. *

                              *
                            • *
                            • *

                              * For form encoded payload types, use the HTML form names. *

                              *

                              * For example, for an HTML form with input elements named primaryaddressline1, * primaryaddressline2, and primaryaddressline3, the address fields identifiers are * primaryaddressline1, primaryaddressline2, and primaryaddressline3. *

                              *
                            • *
                            * * @return The names of the fields in the request payload that contain your customer's primary physical address. *

                            *

                            * Order the address fields in the array exactly as they are ordered in the request payload. *

                            *

                            * How you specify the address fields depends on the request inspection payload type. *

                            *
                              *
                            • *

                              * For JSON payloads, specify the field identifiers in JSON pointer syntax. For information about the JSON * Pointer syntax, see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer. *

                              *

                              * For example, for the JSON payload * { "form": { "primaryaddressline1": "THE_ADDRESS1", "primaryaddressline2": "THE_ADDRESS2", "primaryaddressline3": "THE_ADDRESS3" } } * , the address field idenfiers are /form/primaryaddressline1, * /form/primaryaddressline2, and /form/primaryaddressline3. *

                              *
                            • *
                            • *

                              * For form encoded payload types, use the HTML form names. *

                              *

                              * For example, for an HTML form with input elements named primaryaddressline1, * primaryaddressline2, and primaryaddressline3, the address fields identifiers * are primaryaddressline1, primaryaddressline2, and * primaryaddressline3. *

                              *
                            • */ public java.util.List getAddressFields() { return addressFields; } /** *

                              * The names of the fields in the request payload that contain your customer's primary physical address. *

                              *

                              * Order the address fields in the array exactly as they are ordered in the request payload. *

                              *

                              * How you specify the address fields depends on the request inspection payload type. *

                              *
                                *
                              • *

                                * For JSON payloads, specify the field identifiers in JSON pointer syntax. For information about the JSON Pointer * syntax, see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer. *

                                *

                                * For example, for the JSON payload * { "form": { "primaryaddressline1": "THE_ADDRESS1", "primaryaddressline2": "THE_ADDRESS2", "primaryaddressline3": "THE_ADDRESS3" } } * , the address field idenfiers are /form/primaryaddressline1, /form/primaryaddressline2, * and /form/primaryaddressline3. *

                                *
                              • *
                              • *

                                * For form encoded payload types, use the HTML form names. *

                                *

                                * For example, for an HTML form with input elements named primaryaddressline1, * primaryaddressline2, and primaryaddressline3, the address fields identifiers are * primaryaddressline1, primaryaddressline2, and primaryaddressline3. *

                                *
                              • *
                              * * @param addressFields * The names of the fields in the request payload that contain your customer's primary physical address.

                              *

                              * Order the address fields in the array exactly as they are ordered in the request payload. *

                              *

                              * How you specify the address fields depends on the request inspection payload type. *

                              *
                                *
                              • *

                                * For JSON payloads, specify the field identifiers in JSON pointer syntax. For information about the JSON * Pointer syntax, see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer. *

                                *

                                * For example, for the JSON payload * { "form": { "primaryaddressline1": "THE_ADDRESS1", "primaryaddressline2": "THE_ADDRESS2", "primaryaddressline3": "THE_ADDRESS3" } } * , the address field idenfiers are /form/primaryaddressline1, * /form/primaryaddressline2, and /form/primaryaddressline3. *

                                *
                              • *
                              • *

                                * For form encoded payload types, use the HTML form names. *

                                *

                                * For example, for an HTML form with input elements named primaryaddressline1, * primaryaddressline2, and primaryaddressline3, the address fields identifiers are * primaryaddressline1, primaryaddressline2, and primaryaddressline3. *

                                *
                              • */ public void setAddressFields(java.util.Collection addressFields) { if (addressFields == null) { this.addressFields = null; return; } this.addressFields = new java.util.ArrayList(addressFields); } /** *

                                * The names of the fields in the request payload that contain your customer's primary physical address. *

                                *

                                * Order the address fields in the array exactly as they are ordered in the request payload. *

                                *

                                * How you specify the address fields depends on the request inspection payload type. *

                                *
                                  *
                                • *

                                  * For JSON payloads, specify the field identifiers in JSON pointer syntax. For information about the JSON Pointer * syntax, see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer. *

                                  *

                                  * For example, for the JSON payload * { "form": { "primaryaddressline1": "THE_ADDRESS1", "primaryaddressline2": "THE_ADDRESS2", "primaryaddressline3": "THE_ADDRESS3" } } * , the address field idenfiers are /form/primaryaddressline1, /form/primaryaddressline2, * and /form/primaryaddressline3. *

                                  *
                                • *
                                • *

                                  * For form encoded payload types, use the HTML form names. *

                                  *

                                  * For example, for an HTML form with input elements named primaryaddressline1, * primaryaddressline2, and primaryaddressline3, the address fields identifiers are * primaryaddressline1, primaryaddressline2, and primaryaddressline3. *

                                  *
                                • *
                                *

                                * NOTE: This method appends the values to the existing list (if any). Use * {@link #setAddressFields(java.util.Collection)} or {@link #withAddressFields(java.util.Collection)} if you want * to override the existing values. *

                                * * @param addressFields * The names of the fields in the request payload that contain your customer's primary physical address.

                                *

                                * Order the address fields in the array exactly as they are ordered in the request payload. *

                                *

                                * How you specify the address fields depends on the request inspection payload type. *

                                *
                                  *
                                • *

                                  * For JSON payloads, specify the field identifiers in JSON pointer syntax. For information about the JSON * Pointer syntax, see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer. *

                                  *

                                  * For example, for the JSON payload * { "form": { "primaryaddressline1": "THE_ADDRESS1", "primaryaddressline2": "THE_ADDRESS2", "primaryaddressline3": "THE_ADDRESS3" } } * , the address field idenfiers are /form/primaryaddressline1, * /form/primaryaddressline2, and /form/primaryaddressline3. *

                                  *
                                • *
                                • *

                                  * For form encoded payload types, use the HTML form names. *

                                  *

                                  * For example, for an HTML form with input elements named primaryaddressline1, * primaryaddressline2, and primaryaddressline3, the address fields identifiers are * primaryaddressline1, primaryaddressline2, and primaryaddressline3. *

                                  *
                                • * @return Returns a reference to this object so that method calls can be chained together. */ public RequestInspectionACFP withAddressFields(AddressField... addressFields) { if (this.addressFields == null) { setAddressFields(new java.util.ArrayList(addressFields.length)); } for (AddressField ele : addressFields) { this.addressFields.add(ele); } return this; } /** *

                                  * The names of the fields in the request payload that contain your customer's primary physical address. *

                                  *

                                  * Order the address fields in the array exactly as they are ordered in the request payload. *

                                  *

                                  * How you specify the address fields depends on the request inspection payload type. *

                                  *
                                    *
                                  • *

                                    * For JSON payloads, specify the field identifiers in JSON pointer syntax. For information about the JSON Pointer * syntax, see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer. *

                                    *

                                    * For example, for the JSON payload * { "form": { "primaryaddressline1": "THE_ADDRESS1", "primaryaddressline2": "THE_ADDRESS2", "primaryaddressline3": "THE_ADDRESS3" } } * , the address field idenfiers are /form/primaryaddressline1, /form/primaryaddressline2, * and /form/primaryaddressline3. *

                                    *
                                  • *
                                  • *

                                    * For form encoded payload types, use the HTML form names. *

                                    *

                                    * For example, for an HTML form with input elements named primaryaddressline1, * primaryaddressline2, and primaryaddressline3, the address fields identifiers are * primaryaddressline1, primaryaddressline2, and primaryaddressline3. *

                                    *
                                  • *
                                  * * @param addressFields * The names of the fields in the request payload that contain your customer's primary physical address.

                                  *

                                  * Order the address fields in the array exactly as they are ordered in the request payload. *

                                  *

                                  * How you specify the address fields depends on the request inspection payload type. *

                                  *
                                    *
                                  • *

                                    * For JSON payloads, specify the field identifiers in JSON pointer syntax. For information about the JSON * Pointer syntax, see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer. *

                                    *

                                    * For example, for the JSON payload * { "form": { "primaryaddressline1": "THE_ADDRESS1", "primaryaddressline2": "THE_ADDRESS2", "primaryaddressline3": "THE_ADDRESS3" } } * , the address field idenfiers are /form/primaryaddressline1, * /form/primaryaddressline2, and /form/primaryaddressline3. *

                                    *
                                  • *
                                  • *

                                    * For form encoded payload types, use the HTML form names. *

                                    *

                                    * For example, for an HTML form with input elements named primaryaddressline1, * primaryaddressline2, and primaryaddressline3, the address fields identifiers are * primaryaddressline1, primaryaddressline2, and primaryaddressline3. *

                                    *
                                  • * @return Returns a reference to this object so that method calls can be chained together. */ public RequestInspectionACFP withAddressFields(java.util.Collection addressFields) { setAddressFields(addressFields); return this; } /** * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be * redacted from this string using a placeholder value. * * @return A string representation of this object. * * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getPayloadType() != null) sb.append("PayloadType: ").append(getPayloadType()).append(","); if (getUsernameField() != null) sb.append("UsernameField: ").append(getUsernameField()).append(","); if (getPasswordField() != null) sb.append("PasswordField: ").append(getPasswordField()).append(","); if (getEmailField() != null) sb.append("EmailField: ").append(getEmailField()).append(","); if (getPhoneNumberFields() != null) sb.append("PhoneNumberFields: ").append(getPhoneNumberFields()).append(","); if (getAddressFields() != null) sb.append("AddressFields: ").append(getAddressFields()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof RequestInspectionACFP == false) return false; RequestInspectionACFP other = (RequestInspectionACFP) obj; if (other.getPayloadType() == null ^ this.getPayloadType() == null) return false; if (other.getPayloadType() != null && other.getPayloadType().equals(this.getPayloadType()) == false) return false; if (other.getUsernameField() == null ^ this.getUsernameField() == null) return false; if (other.getUsernameField() != null && other.getUsernameField().equals(this.getUsernameField()) == false) return false; if (other.getPasswordField() == null ^ this.getPasswordField() == null) return false; if (other.getPasswordField() != null && other.getPasswordField().equals(this.getPasswordField()) == false) return false; if (other.getEmailField() == null ^ this.getEmailField() == null) return false; if (other.getEmailField() != null && other.getEmailField().equals(this.getEmailField()) == false) return false; if (other.getPhoneNumberFields() == null ^ this.getPhoneNumberFields() == null) return false; if (other.getPhoneNumberFields() != null && other.getPhoneNumberFields().equals(this.getPhoneNumberFields()) == false) return false; if (other.getAddressFields() == null ^ this.getAddressFields() == null) return false; if (other.getAddressFields() != null && other.getAddressFields().equals(this.getAddressFields()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getPayloadType() == null) ? 0 : getPayloadType().hashCode()); hashCode = prime * hashCode + ((getUsernameField() == null) ? 0 : getUsernameField().hashCode()); hashCode = prime * hashCode + ((getPasswordField() == null) ? 0 : getPasswordField().hashCode()); hashCode = prime * hashCode + ((getEmailField() == null) ? 0 : getEmailField().hashCode()); hashCode = prime * hashCode + ((getPhoneNumberFields() == null) ? 0 : getPhoneNumberFields().hashCode()); hashCode = prime * hashCode + ((getAddressFields() == null) ? 0 : getAddressFields().hashCode()); return hashCode; } @Override public RequestInspectionACFP clone() { try { return (RequestInspectionACFP) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } @com.amazonaws.annotation.SdkInternalApi @Override public void marshall(ProtocolMarshaller protocolMarshaller) { com.amazonaws.services.wafv2.model.transform.RequestInspectionACFPMarshaller.getInstance().marshall(this, protocolMarshaller); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy