Interface PhoneNumberInformation.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<PhoneNumberInformation.Builder,PhoneNumberInformation>
,SdkBuilder<PhoneNumberInformation.Builder,PhoneNumberInformation>
,SdkPojo
- Enclosing class:
- PhoneNumberInformation
public static interface PhoneNumberInformation.Builder extends SdkPojo, CopyableBuilder<PhoneNumberInformation.Builder,PhoneNumberInformation>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PhoneNumberInformation.Builder
createdAt(Instant createdAt)
The date and time when the phone number was created.PhoneNumberInformation.Builder
iso2CountryCode(String iso2CountryCode)
The two-character code for the country or region, in ISO 3166-1 alpha-2 format.PhoneNumberInformation.Builder
numberCapabilities(Collection<NumberCapability> numberCapabilities)
The capabilities of each phone number.PhoneNumberInformation.Builder
numberCapabilities(NumberCapability... numberCapabilities)
The capabilities of each phone number.PhoneNumberInformation.Builder
numberCapabilitiesWithStrings(String... numberCapabilities)
The capabilities of each phone number.PhoneNumberInformation.Builder
numberCapabilitiesWithStrings(Collection<String> numberCapabilities)
The capabilities of each phone number.PhoneNumberInformation.Builder
phoneNumber(String phoneNumber)
The phone number.PhoneNumberInformation.Builder
routeType(String routeType)
The list of supported routes.PhoneNumberInformation.Builder
routeType(RouteType routeType)
The list of supported routes.PhoneNumberInformation.Builder
status(String status)
The status of the 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
-
createdAt
PhoneNumberInformation.Builder createdAt(Instant createdAt)
The date and time when the phone number was created.
- Parameters:
createdAt
- The date and time when the phone number was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phoneNumber
PhoneNumberInformation.Builder phoneNumber(String phoneNumber)
The phone number.
- Parameters:
phoneNumber
- The phone number.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
PhoneNumberInformation.Builder status(String status)
The status of the phone number.
- Parameters:
status
- The status of the phone number.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
iso2CountryCode
PhoneNumberInformation.Builder iso2CountryCode(String iso2CountryCode)
The two-character code for the country or region, in ISO 3166-1 alpha-2 format.
- Parameters:
iso2CountryCode
- The two-character code for the country or region, in ISO 3166-1 alpha-2 format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routeType
PhoneNumberInformation.Builder routeType(String routeType)
The list of supported routes.
-
routeType
PhoneNumberInformation.Builder routeType(RouteType routeType)
The list of supported routes.
-
numberCapabilitiesWithStrings
PhoneNumberInformation.Builder numberCapabilitiesWithStrings(Collection<String> numberCapabilities)
The capabilities of each phone number.
- Parameters:
numberCapabilities
- The capabilities of each phone number.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
numberCapabilitiesWithStrings
PhoneNumberInformation.Builder numberCapabilitiesWithStrings(String... numberCapabilities)
The capabilities of each phone number.
- Parameters:
numberCapabilities
- The capabilities of each phone number.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
numberCapabilities
PhoneNumberInformation.Builder numberCapabilities(Collection<NumberCapability> numberCapabilities)
The capabilities of each phone number.
- Parameters:
numberCapabilities
- The capabilities of each phone number.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
numberCapabilities
PhoneNumberInformation.Builder numberCapabilities(NumberCapability... numberCapabilities)
The capabilities of each phone number.
- Parameters:
numberCapabilities
- The capabilities of each phone number.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-