Interface OriginationIdentityMetadata.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<OriginationIdentityMetadata.Builder,OriginationIdentityMetadata>,SdkBuilder<OriginationIdentityMetadata.Builder,OriginationIdentityMetadata>,SdkPojo
- Enclosing class:
- OriginationIdentityMetadata
public static interface OriginationIdentityMetadata.Builder extends SdkPojo, CopyableBuilder<OriginationIdentityMetadata.Builder,OriginationIdentityMetadata>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OriginationIdentityMetadata.BuilderisoCountryCode(String isoCountryCode)The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.OriginationIdentityMetadata.BuildernumberCapabilities(Collection<NumberCapability> numberCapabilities)Describes if the origination identity can be used for text messages, voice calls or both.OriginationIdentityMetadata.BuildernumberCapabilities(NumberCapability... numberCapabilities)Describes if the origination identity can be used for text messages, voice calls or both.OriginationIdentityMetadata.BuildernumberCapabilitiesWithStrings(String... numberCapabilities)Describes if the origination identity can be used for text messages, voice calls or both.OriginationIdentityMetadata.BuildernumberCapabilitiesWithStrings(Collection<String> numberCapabilities)Describes if the origination identity can be used for text messages, voice calls or both.OriginationIdentityMetadata.BuilderoriginationIdentity(String originationIdentity)The unique identifier of the origination identity.OriginationIdentityMetadata.BuilderoriginationIdentityArn(String originationIdentityArn)The Amazon Resource Name (ARN) associated with the origination identity.OriginationIdentityMetadata.BuilderphoneNumber(String phoneNumber)The phone number in E.164 format.-
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
-
originationIdentityArn
OriginationIdentityMetadata.Builder originationIdentityArn(String 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
OriginationIdentityMetadata.Builder originationIdentity(String 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
OriginationIdentityMetadata.Builder isoCountryCode(String isoCountryCode)
The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
- Parameters:
isoCountryCode- The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.- 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
OriginationIdentityMetadata.Builder numberCapabilitiesWithStrings(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.
-
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
OriginationIdentityMetadata.Builder numberCapabilities(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.
-
phoneNumber
OriginationIdentityMetadata.Builder phoneNumber(String 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.
-
-