@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ProxySession extends Object implements Serializable, Cloneable, StructuredPojo
The proxy session for an Amazon Chime Voice Connector.
Constructor and Description |
---|
ProxySession() |
Modifier and Type | Method and Description |
---|---|
ProxySession |
clone() |
boolean |
equals(Object obj) |
List<String> |
getCapabilities()
The proxy session capabilities.
|
Date |
getCreatedTimestamp()
The created time stamp, in ISO 8601 format.
|
Date |
getEndedTimestamp()
The ended time stamp, in ISO 8601 format.
|
Integer |
getExpiryMinutes()
The number of minutes allowed for the proxy session.
|
String |
getGeoMatchLevel()
The preference for matching the country or area code of the proxy phone number with that of the first
participant.
|
GeoMatchParams |
getGeoMatchParams()
The country and area code for the proxy phone number.
|
String |
getName()
The name of the proxy session.
|
String |
getNumberSelectionBehavior()
The preference for proxy phone number reuse, or stickiness, between the same participants across sessions.
|
List<Participant> |
getParticipants()
The proxy session participants.
|
String |
getProxySessionId()
The proxy session ID.
|
String |
getStatus()
The status of the proxy session.
|
Date |
getUpdatedTimestamp()
The updated time stamp, in ISO 8601 format.
|
String |
getVoiceConnectorId()
The Amazon Chime voice connector ID.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCapabilities(Collection<String> capabilities)
The proxy session capabilities.
|
void |
setCreatedTimestamp(Date createdTimestamp)
The created time stamp, in ISO 8601 format.
|
void |
setEndedTimestamp(Date endedTimestamp)
The ended time stamp, in ISO 8601 format.
|
void |
setExpiryMinutes(Integer expiryMinutes)
The number of minutes allowed for the proxy session.
|
void |
setGeoMatchLevel(String geoMatchLevel)
The preference for matching the country or area code of the proxy phone number with that of the first
participant.
|
void |
setGeoMatchParams(GeoMatchParams geoMatchParams)
The country and area code for the proxy phone number.
|
void |
setName(String name)
The name of the proxy session.
|
void |
setNumberSelectionBehavior(String numberSelectionBehavior)
The preference for proxy phone number reuse, or stickiness, between the same participants across sessions.
|
void |
setParticipants(Collection<Participant> participants)
The proxy session participants.
|
void |
setProxySessionId(String proxySessionId)
The proxy session ID.
|
void |
setStatus(String status)
The status of the proxy session.
|
void |
setUpdatedTimestamp(Date updatedTimestamp)
The updated time stamp, in ISO 8601 format.
|
void |
setVoiceConnectorId(String voiceConnectorId)
The Amazon Chime voice connector ID.
|
String |
toString()
Returns a string representation of this object.
|
ProxySession |
withCapabilities(Capability... capabilities)
The proxy session capabilities.
|
ProxySession |
withCapabilities(Collection<String> capabilities)
The proxy session capabilities.
|
ProxySession |
withCapabilities(String... capabilities)
The proxy session capabilities.
|
ProxySession |
withCreatedTimestamp(Date createdTimestamp)
The created time stamp, in ISO 8601 format.
|
ProxySession |
withEndedTimestamp(Date endedTimestamp)
The ended time stamp, in ISO 8601 format.
|
ProxySession |
withExpiryMinutes(Integer expiryMinutes)
The number of minutes allowed for the proxy session.
|
ProxySession |
withGeoMatchLevel(GeoMatchLevel geoMatchLevel)
The preference for matching the country or area code of the proxy phone number with that of the first
participant.
|
ProxySession |
withGeoMatchLevel(String geoMatchLevel)
The preference for matching the country or area code of the proxy phone number with that of the first
participant.
|
ProxySession |
withGeoMatchParams(GeoMatchParams geoMatchParams)
The country and area code for the proxy phone number.
|
ProxySession |
withName(String name)
The name of the proxy session.
|
ProxySession |
withNumberSelectionBehavior(NumberSelectionBehavior numberSelectionBehavior)
The preference for proxy phone number reuse, or stickiness, between the same participants across sessions.
|
ProxySession |
withNumberSelectionBehavior(String numberSelectionBehavior)
The preference for proxy phone number reuse, or stickiness, between the same participants across sessions.
|
ProxySession |
withParticipants(Collection<Participant> participants)
The proxy session participants.
|
ProxySession |
withParticipants(Participant... participants)
The proxy session participants.
|
ProxySession |
withProxySessionId(String proxySessionId)
The proxy session ID.
|
ProxySession |
withStatus(ProxySessionStatus status)
The status of the proxy session.
|
ProxySession |
withStatus(String status)
The status of the proxy session.
|
ProxySession |
withUpdatedTimestamp(Date updatedTimestamp)
The updated time stamp, in ISO 8601 format.
|
ProxySession |
withVoiceConnectorId(String voiceConnectorId)
The Amazon Chime voice connector ID.
|
public void setVoiceConnectorId(String voiceConnectorId)
The Amazon Chime voice connector ID.
voiceConnectorId
- The Amazon Chime voice connector ID.public String getVoiceConnectorId()
The Amazon Chime voice connector ID.
public ProxySession withVoiceConnectorId(String voiceConnectorId)
The Amazon Chime voice connector ID.
voiceConnectorId
- The Amazon Chime voice connector ID.public void setProxySessionId(String proxySessionId)
The proxy session ID.
proxySessionId
- The proxy session ID.public String getProxySessionId()
The proxy session ID.
public ProxySession withProxySessionId(String proxySessionId)
The proxy session ID.
proxySessionId
- The proxy session ID.public void setName(String name)
The name of the proxy session.
name
- The name of the proxy session.public String getName()
The name of the proxy session.
public ProxySession withName(String name)
The name of the proxy session.
name
- The name of the proxy session.public void setStatus(String status)
The status of the proxy session.
status
- The status of the proxy session.ProxySessionStatus
public String getStatus()
The status of the proxy session.
ProxySessionStatus
public ProxySession withStatus(String status)
The status of the proxy session.
status
- The status of the proxy session.ProxySessionStatus
public ProxySession withStatus(ProxySessionStatus status)
The status of the proxy session.
status
- The status of the proxy session.ProxySessionStatus
public void setExpiryMinutes(Integer expiryMinutes)
The number of minutes allowed for the proxy session.
expiryMinutes
- The number of minutes allowed for the proxy session.public Integer getExpiryMinutes()
The number of minutes allowed for the proxy session.
public ProxySession withExpiryMinutes(Integer expiryMinutes)
The number of minutes allowed for the proxy session.
expiryMinutes
- The number of minutes allowed for the proxy session.public List<String> getCapabilities()
The proxy session capabilities.
Capability
public void setCapabilities(Collection<String> capabilities)
The proxy session capabilities.
capabilities
- The proxy session capabilities.Capability
public ProxySession withCapabilities(String... capabilities)
The proxy session capabilities.
NOTE: This method appends the values to the existing list (if any). Use
setCapabilities(java.util.Collection)
or withCapabilities(java.util.Collection)
if you want to
override the existing values.
capabilities
- The proxy session capabilities.Capability
public ProxySession withCapabilities(Collection<String> capabilities)
The proxy session capabilities.
capabilities
- The proxy session capabilities.Capability
public ProxySession withCapabilities(Capability... capabilities)
The proxy session capabilities.
capabilities
- The proxy session capabilities.Capability
public void setCreatedTimestamp(Date createdTimestamp)
The created time stamp, in ISO 8601 format.
createdTimestamp
- The created time stamp, in ISO 8601 format.public Date getCreatedTimestamp()
The created time stamp, in ISO 8601 format.
public ProxySession withCreatedTimestamp(Date createdTimestamp)
The created time stamp, in ISO 8601 format.
createdTimestamp
- The created time stamp, in ISO 8601 format.public void setUpdatedTimestamp(Date updatedTimestamp)
The updated time stamp, in ISO 8601 format.
updatedTimestamp
- The updated time stamp, in ISO 8601 format.public Date getUpdatedTimestamp()
The updated time stamp, in ISO 8601 format.
public ProxySession withUpdatedTimestamp(Date updatedTimestamp)
The updated time stamp, in ISO 8601 format.
updatedTimestamp
- The updated time stamp, in ISO 8601 format.public void setEndedTimestamp(Date endedTimestamp)
The ended time stamp, in ISO 8601 format.
endedTimestamp
- The ended time stamp, in ISO 8601 format.public Date getEndedTimestamp()
The ended time stamp, in ISO 8601 format.
public ProxySession withEndedTimestamp(Date endedTimestamp)
The ended time stamp, in ISO 8601 format.
endedTimestamp
- The ended time stamp, in ISO 8601 format.public List<Participant> getParticipants()
The proxy session participants.
public void setParticipants(Collection<Participant> participants)
The proxy session participants.
participants
- The proxy session participants.public ProxySession withParticipants(Participant... participants)
The proxy session participants.
NOTE: This method appends the values to the existing list (if any). Use
setParticipants(java.util.Collection)
or withParticipants(java.util.Collection)
if you want to
override the existing values.
participants
- The proxy session participants.public ProxySession withParticipants(Collection<Participant> participants)
The proxy session participants.
participants
- The proxy session participants.public void setNumberSelectionBehavior(String numberSelectionBehavior)
The preference for proxy phone number reuse, or stickiness, between the same participants across sessions.
numberSelectionBehavior
- The preference for proxy phone number reuse, or stickiness, between the same participants across sessions.NumberSelectionBehavior
public String getNumberSelectionBehavior()
The preference for proxy phone number reuse, or stickiness, between the same participants across sessions.
NumberSelectionBehavior
public ProxySession withNumberSelectionBehavior(String numberSelectionBehavior)
The preference for proxy phone number reuse, or stickiness, between the same participants across sessions.
numberSelectionBehavior
- The preference for proxy phone number reuse, or stickiness, between the same participants across sessions.NumberSelectionBehavior
public ProxySession withNumberSelectionBehavior(NumberSelectionBehavior numberSelectionBehavior)
The preference for proxy phone number reuse, or stickiness, between the same participants across sessions.
numberSelectionBehavior
- The preference for proxy phone number reuse, or stickiness, between the same participants across sessions.NumberSelectionBehavior
public void setGeoMatchLevel(String geoMatchLevel)
The preference for matching the country or area code of the proxy phone number with that of the first participant.
geoMatchLevel
- The preference for matching the country or area code of the proxy phone number with that of the first
participant.GeoMatchLevel
public String getGeoMatchLevel()
The preference for matching the country or area code of the proxy phone number with that of the first participant.
GeoMatchLevel
public ProxySession withGeoMatchLevel(String geoMatchLevel)
The preference for matching the country or area code of the proxy phone number with that of the first participant.
geoMatchLevel
- The preference for matching the country or area code of the proxy phone number with that of the first
participant.GeoMatchLevel
public ProxySession withGeoMatchLevel(GeoMatchLevel geoMatchLevel)
The preference for matching the country or area code of the proxy phone number with that of the first participant.
geoMatchLevel
- The preference for matching the country or area code of the proxy phone number with that of the first
participant.GeoMatchLevel
public void setGeoMatchParams(GeoMatchParams geoMatchParams)
The country and area code for the proxy phone number.
geoMatchParams
- The country and area code for the proxy phone number.public GeoMatchParams getGeoMatchParams()
The country and area code for the proxy phone number.
public ProxySession withGeoMatchParams(GeoMatchParams geoMatchParams)
The country and area code for the proxy phone number.
geoMatchParams
- The country and area code for the proxy phone number.public String toString()
toString
in class Object
Object.toString()
public ProxySession clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.