@Generated(value="software.amazon.awssdk:codegen") public final class ProxySession extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ProxySession.Builder,ProxySession>
The proxy session for an Amazon Chime Voice Connector.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ProxySession.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ProxySession.Builder |
builder() |
List<Capability> |
capabilities()
The proxy session capabilities.
|
List<String> |
capabilitiesAsStrings()
The proxy session capabilities.
|
Instant |
createdTimestamp()
The created time stamp, in ISO 8601 format.
|
Instant |
endedTimestamp()
The ended time stamp, in ISO 8601 format.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Integer |
expiryMinutes()
The number of minutes allowed for the proxy session.
|
GeoMatchLevel |
geoMatchLevel()
The preference for matching the country or area code of the proxy phone number with that of the first
participant.
|
String |
geoMatchLevelAsString()
The preference for matching the country or area code of the proxy phone number with that of the first
participant.
|
GeoMatchParams |
geoMatchParams()
The country and area code for the proxy phone number.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasCapabilities()
For responses, this returns true if the service returned a value for the Capabilities property.
|
int |
hashCode() |
boolean |
hasParticipants()
For responses, this returns true if the service returned a value for the Participants property.
|
String |
name()
The name of the proxy session.
|
NumberSelectionBehavior |
numberSelectionBehavior()
The preference for proxy phone number reuse, or stickiness, between the same participants across sessions.
|
String |
numberSelectionBehaviorAsString()
The preference for proxy phone number reuse, or stickiness, between the same participants across sessions.
|
List<Participant> |
participants()
The proxy session participants.
|
String |
proxySessionId()
The proxy session ID.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ProxySession.Builder> |
serializableBuilderClass() |
ProxySessionStatus |
status()
The status of the proxy session.
|
String |
statusAsString()
The status of the proxy session.
|
ProxySession.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Instant |
updatedTimestamp()
The updated time stamp, in ISO 8601 format.
|
String |
voiceConnectorId()
The Amazon Chime voice connector ID.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String voiceConnectorId()
The Amazon Chime voice connector ID.
public final String proxySessionId()
The proxy session ID.
public final String name()
The name of the proxy session.
public final ProxySessionStatus status()
The status of the proxy session.
If the service returns an enum value that is not available in the current SDK version, status will
return ProxySessionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
ProxySessionStatuspublic final String statusAsString()
The status of the proxy session.
If the service returns an enum value that is not available in the current SDK version, status will
return ProxySessionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
ProxySessionStatuspublic final Integer expiryMinutes()
The number of minutes allowed for the proxy session.
public final List<Capability> capabilities()
The proxy session capabilities.
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 hasCapabilities() method.
public final boolean hasCapabilities()
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> capabilitiesAsStrings()
The proxy session capabilities.
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 hasCapabilities() method.
public final Instant createdTimestamp()
The created time stamp, in ISO 8601 format.
public final Instant updatedTimestamp()
The updated time stamp, in ISO 8601 format.
public final Instant endedTimestamp()
The ended time stamp, in ISO 8601 format.
public final boolean hasParticipants()
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<Participant> participants()
The proxy session participants.
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 hasParticipants() method.
public final NumberSelectionBehavior numberSelectionBehavior()
The preference for proxy phone number reuse, or stickiness, between the same participants across sessions.
If the service returns an enum value that is not available in the current SDK version,
numberSelectionBehavior will return NumberSelectionBehavior.UNKNOWN_TO_SDK_VERSION. The raw
value returned by the service is available from numberSelectionBehaviorAsString().
NumberSelectionBehaviorpublic final String numberSelectionBehaviorAsString()
The preference for proxy phone number reuse, or stickiness, between the same participants across sessions.
If the service returns an enum value that is not available in the current SDK version,
numberSelectionBehavior will return NumberSelectionBehavior.UNKNOWN_TO_SDK_VERSION. The raw
value returned by the service is available from numberSelectionBehaviorAsString().
NumberSelectionBehaviorpublic final GeoMatchLevel geoMatchLevel()
The preference for matching the country or area code of the proxy phone number with that of the first participant.
If the service returns an enum value that is not available in the current SDK version, geoMatchLevel
will return GeoMatchLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
geoMatchLevelAsString().
GeoMatchLevelpublic final String geoMatchLevelAsString()
The preference for matching the country or area code of the proxy phone number with that of the first participant.
If the service returns an enum value that is not available in the current SDK version, geoMatchLevel
will return GeoMatchLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
geoMatchLevelAsString().
GeoMatchLevelpublic final GeoMatchParams geoMatchParams()
The country and area code for the proxy phone number.
public ProxySession.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ProxySession.Builder,ProxySession>public static ProxySession.Builder builder()
public static Class<? extends ProxySession.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.