Interface OriginationIdentityMetadata.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<OriginationIdentityMetadata.Builder,,OriginationIdentityMetadata> SdkBuilder<OriginationIdentityMetadata.Builder,,OriginationIdentityMetadata> SdkPojo
- Enclosing class:
OriginationIdentityMetadata
-
Method Summary
Modifier and TypeMethodDescriptionisoCountryCode(String isoCountryCode) The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.numberCapabilities(Collection<NumberCapability> numberCapabilities) Describes if the origination identity can be used for text messages, voice calls or both.numberCapabilities(NumberCapability... numberCapabilities) Describes if the origination identity can be used for text messages, voice calls or both.numberCapabilitiesWithStrings(String... numberCapabilities) Describes if the origination identity can be used for text messages, voice calls or both.numberCapabilitiesWithStrings(Collection<String> numberCapabilities) Describes if the origination identity can be used for text messages, voice calls or both.originationIdentity(String originationIdentity) The unique identifier of the origination identity.originationIdentityArn(String originationIdentityArn) The Amazon Resource Name (ARN) associated with the origination identity.phoneNumber(String phoneNumber) The phone number in E.164 format.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
originationIdentityArn
The Amazon Resource Name (ARN) associated with the origination identity.
- Parameters:
originationIdentityArn- The Amazon Resource Name (ARN) associated with the origination identity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
originationIdentity
The unique identifier of the origination identity.
- Parameters:
originationIdentity- The unique identifier of the origination identity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isoCountryCode
The two-character code, in ISO 3166-1 alpha-2 format, for the country or region. This field is optional and may not be present for origination identity types that are not country-specific, such as RCS agents.
- Parameters:
isoCountryCode- The two-character code, in ISO 3166-1 alpha-2 format, for the country or region. This field is optional and may not be present for origination identity types that are not country-specific, such as RCS agents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
numberCapabilitiesWithStrings
OriginationIdentityMetadata.Builder numberCapabilitiesWithStrings(Collection<String> numberCapabilities) Describes if the origination identity can be used for text messages, voice calls or both.
- Parameters:
numberCapabilities- Describes if the origination identity can be used for text messages, voice calls or both.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
numberCapabilitiesWithStrings
Describes if the origination identity can be used for text messages, voice calls or both.
- Parameters:
numberCapabilities- Describes if the origination identity can be used for text messages, voice calls or both.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
numberCapabilities
OriginationIdentityMetadata.Builder numberCapabilities(Collection<NumberCapability> numberCapabilities) Describes if the origination identity can be used for text messages, voice calls or both.
- Parameters:
numberCapabilities- Describes if the origination identity can be used for text messages, voice calls or both.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
numberCapabilities
Describes if the origination identity can be used for text messages, voice calls or both.
- Parameters:
numberCapabilities- Describes if the origination identity can be used for text messages, voice calls or both.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phoneNumber
The phone number in E.164 format.
- Parameters:
phoneNumber- The phone number in E.164 format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-