@Generated(value="software.amazon.awssdk:codegen") public final class Origination extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Origination.Builder,Origination>
Origination settings enable your SIP hosts to receive inbound calls using your Amazon Chime Voice Connector.
The parameters listed below are not required, but you must use at least one.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Origination.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Origination.Builder |
builder() |
Boolean |
disabled()
When origination settings are disabled, inbound calls are not enabled for your Amazon Chime Voice Connector.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasRoutes()
For responses, this returns true if the service returned a value for the Routes property.
|
List<OriginationRoute> |
routes()
The call distribution properties defined for your SIP hosts.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Origination.Builder> |
serializableBuilderClass() |
Origination.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasRoutes()
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<OriginationRoute> routes()
The call distribution properties defined for your SIP hosts. Valid range: Minimum value of 1. Maximum value of
20. This parameter is not required, but you must specify this parameter or Disabled.
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 hasRoutes() method.
Disabled
.public final Boolean disabled()
When origination settings are disabled, inbound calls are not enabled for your Amazon Chime Voice Connector. This
parameter is not required, but you must specify this parameter or Routes.
Routes.public Origination.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Origination.Builder,Origination>public static Origination.Builder builder()
public static Class<? extends Origination.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.