Class PhoneNumberCapabilities
- java.lang.Object
-
- software.amazon.awssdk.services.chimesdkvoice.model.PhoneNumberCapabilities
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<PhoneNumberCapabilities.Builder,PhoneNumberCapabilities>
@Generated("software.amazon.awssdk:codegen") public final class PhoneNumberCapabilities extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PhoneNumberCapabilities.Builder,PhoneNumberCapabilities>
The phone number capabilities for Amazon Chime SDK phone numbers, such as enabled inbound and outbound calling, and text messaging.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePhoneNumberCapabilities.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PhoneNumberCapabilities.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()BooleaninboundCall()Allows or denies inbound calling for the specified phone number.BooleaninboundMMS()Allows or denies inbound MMS messaging for the specified phone number.BooleaninboundSMS()Allows or denies inbound SMS messaging for the specified phone number.BooleanoutboundCall()Allows or denies outbound calling for the specified phone number.BooleanoutboundMMS()Allows or denies inbound MMS messaging for the specified phone number.BooleanoutboundSMS()Allows or denies outbound SMS messaging for the specified phone number.List<SdkField<?>>sdkFields()static Class<? extends PhoneNumberCapabilities.Builder>serializableBuilderClass()PhoneNumberCapabilities.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
inboundCall
public final Boolean inboundCall()
Allows or denies inbound calling for the specified phone number.
- Returns:
- Allows or denies inbound calling for the specified phone number.
-
outboundCall
public final Boolean outboundCall()
Allows or denies outbound calling for the specified phone number.
- Returns:
- Allows or denies outbound calling for the specified phone number.
-
inboundSMS
public final Boolean inboundSMS()
Allows or denies inbound SMS messaging for the specified phone number.
- Returns:
- Allows or denies inbound SMS messaging for the specified phone number.
-
outboundSMS
public final Boolean outboundSMS()
Allows or denies outbound SMS messaging for the specified phone number.
- Returns:
- Allows or denies outbound SMS messaging for the specified phone number.
-
inboundMMS
public final Boolean inboundMMS()
Allows or denies inbound MMS messaging for the specified phone number.
- Returns:
- Allows or denies inbound MMS messaging for the specified phone number.
-
outboundMMS
public final Boolean outboundMMS()
Allows or denies inbound MMS messaging for the specified phone number.
- Returns:
- Allows or denies inbound MMS messaging for the specified phone number.
-
toBuilder
public PhoneNumberCapabilities.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PhoneNumberCapabilities.Builder,PhoneNumberCapabilities>
-
builder
public static PhoneNumberCapabilities.Builder builder()
-
serializableBuilderClass
public static Class<? extends PhoneNumberCapabilities.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-