Interface PhoneNumberInformation.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PhoneNumberInformation.Builder,PhoneNumberInformation>,SdkBuilder<PhoneNumberInformation.Builder,PhoneNumberInformation>,SdkPojo
- Enclosing class:
- PhoneNumberInformation
@Mutable @NotThreadSafe 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.BuildercreatedAt(Instant createdAt)The date and time when the phone number was created.PhoneNumberInformation.Builderiso2CountryCode(String iso2CountryCode)The two-character code for the country or region, in ISO 3166-1 alpha-2 format.PhoneNumberInformation.BuildernumberCapabilities(Collection<NumberCapability> numberCapabilities)The capabilities of each phone number.PhoneNumberInformation.BuildernumberCapabilities(NumberCapability... numberCapabilities)The capabilities of each phone number.PhoneNumberInformation.BuildernumberCapabilitiesWithStrings(String... numberCapabilities)The capabilities of each phone number.PhoneNumberInformation.BuildernumberCapabilitiesWithStrings(Collection<String> numberCapabilities)The capabilities of each phone number.PhoneNumberInformation.BuilderphoneNumber(String phoneNumber)The phone number.PhoneNumberInformation.BuilderrouteType(String routeType)The list of supported routes.PhoneNumberInformation.BuilderrouteType(RouteType routeType)The list of supported routes.PhoneNumberInformation.Builderstatus(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, sdkFieldNameToField, 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.
-
-