@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PhoneNumberField extends Object implements Serializable, Cloneable, StructuredPojo
The name of a field in the request payload that contains part or all of your customer's primary phone number.
This data type is used in the RequestInspectionACFP
data type.
Constructor and Description |
---|
PhoneNumberField() |
Modifier and Type | Method and Description |
---|---|
PhoneNumberField |
clone() |
boolean |
equals(Object obj) |
String |
getIdentifier()
The name of a single primary phone number field.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setIdentifier(String identifier)
The name of a single primary phone number field.
|
String |
toString()
Returns a string representation of this object.
|
PhoneNumberField |
withIdentifier(String identifier)
The name of a single primary phone number field.
|
public void setIdentifier(String identifier)
The name of a single primary phone number field.
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
.
identifier
- The name of a single primary phone number field.
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 String getIdentifier()
The name of a single primary phone number field.
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
.
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 PhoneNumberField withIdentifier(String identifier)
The name of a single primary phone number field.
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
.
identifier
- The name of a single primary phone number field.
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 String toString()
toString
in class Object
Object.toString()
public PhoneNumberField clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.