@Generated(value="software.amazon.awssdk:codegen") public final class Termination extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Termination.Builder,Termination>
Termination settings enable your SIP hosts to make outbound calls using your Amazon Chime Voice Connector.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Termination.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Termination.Builder |
builder() |
List<String> |
callingRegions()
The countries to which calls are allowed, in ISO 3166-1 alpha-2 format.
|
List<String> |
cidrAllowedList()
The IP addresses allowed to make calls, in CIDR format.
|
Integer |
cpsLimit()
The limit on calls per second.
|
String |
defaultPhoneNumber()
The default caller ID phone number.
|
Boolean |
disabled()
When termination settings are disabled, outbound calls can not be made.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasCallingRegions()
For responses, this returns true if the service returned a value for the CallingRegions property.
|
boolean |
hasCidrAllowedList()
For responses, this returns true if the service returned a value for the CidrAllowedList property.
|
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends Termination.Builder> |
serializableBuilderClass() |
Termination.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Integer cpsLimit()
The limit on calls per second. Max value based on account service quota. Default value of 1.
public final String defaultPhoneNumber()
The default caller ID phone number.
public final boolean hasCallingRegions()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> callingRegions()
The countries to which calls are allowed, in ISO 3166-1 alpha-2 format. Required.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasCallingRegions() method.
public final boolean hasCidrAllowedList()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> cidrAllowedList()
The IP addresses allowed to make calls, in CIDR format. Required.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasCidrAllowedList() method.
public final Boolean disabled()
When termination settings are disabled, outbound calls can not be made.
public Termination.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Termination.Builder,Termination>public static Termination.Builder builder()
public static Class<? extends Termination.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.