Interface PhoneNumber.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PhoneNumber.Builder,PhoneNumber>,SdkBuilder<PhoneNumber.Builder,PhoneNumber>,SdkPojo
- Enclosing class:
- PhoneNumber
public static interface PhoneNumber.Builder extends SdkPojo, CopyableBuilder<PhoneNumber.Builder,PhoneNumber>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PhoneNumber.Builderprimary(Boolean primary)A Boolean value representing whether this is the primary phone number for the associated resource.PhoneNumber.Buildertype(String type)A string representing the type of a phone number.PhoneNumber.Buildervalue(String value)A string containing a phone number.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
value
PhoneNumber.Builder value(String value)
A string containing a phone number. For example, "8675309" or "+1 (800) 123-4567".
- Parameters:
value- A string containing a phone number. For example, "8675309" or "+1 (800) 123-4567".- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
PhoneNumber.Builder type(String type)
A string representing the type of a phone number. For example, "Mobile."
- Parameters:
type- A string representing the type of a phone number. For example, "Mobile."- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
primary
PhoneNumber.Builder primary(Boolean primary)
A Boolean value representing whether this is the primary phone number for the associated resource.
- Parameters:
primary- A Boolean value representing whether this is the primary phone number for the associated resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-