public class UserPhoneConfig
extends java.lang.Object
implements java.io.Serializable
Contains information about the phone configuration settings for a user.
Constructor and Description |
---|
UserPhoneConfig() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getAfterContactWorkTimeLimit()
The After Call Work (ACW) timeout setting, in seconds.
|
java.lang.Boolean |
getAutoAccept()
The Auto accept setting.
|
java.lang.String |
getDeskPhoneNumber()
The phone number for the user's desk phone.
|
java.lang.String |
getPhoneType()
The phone type.
|
int |
hashCode() |
java.lang.Boolean |
isAutoAccept()
The Auto accept setting.
|
void |
setAfterContactWorkTimeLimit(java.lang.Integer afterContactWorkTimeLimit)
The After Call Work (ACW) timeout setting, in seconds.
|
void |
setAutoAccept(java.lang.Boolean autoAccept)
The Auto accept setting.
|
void |
setDeskPhoneNumber(java.lang.String deskPhoneNumber)
The phone number for the user's desk phone.
|
void |
setPhoneType(PhoneType phoneType)
The phone type.
|
void |
setPhoneType(java.lang.String phoneType)
The phone type.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UserPhoneConfig |
withAfterContactWorkTimeLimit(java.lang.Integer afterContactWorkTimeLimit)
The After Call Work (ACW) timeout setting, in seconds.
|
UserPhoneConfig |
withAutoAccept(java.lang.Boolean autoAccept)
The Auto accept setting.
|
UserPhoneConfig |
withDeskPhoneNumber(java.lang.String deskPhoneNumber)
The phone number for the user's desk phone.
|
UserPhoneConfig |
withPhoneType(PhoneType phoneType)
The phone type.
|
UserPhoneConfig |
withPhoneType(java.lang.String phoneType)
The phone type.
|
public java.lang.String getPhoneType()
The phone type.
Constraints:
Allowed Values: SOFT_PHONE, DESK_PHONE
The phone type.
PhoneType
public void setPhoneType(java.lang.String phoneType)
The phone type.
Constraints:
Allowed Values: SOFT_PHONE, DESK_PHONE
phoneType
- The phone type.
PhoneType
public UserPhoneConfig withPhoneType(java.lang.String phoneType)
The phone type.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: SOFT_PHONE, DESK_PHONE
phoneType
- The phone type.
PhoneType
public void setPhoneType(PhoneType phoneType)
The phone type.
Constraints:
Allowed Values: SOFT_PHONE, DESK_PHONE
phoneType
- The phone type.
PhoneType
public UserPhoneConfig withPhoneType(PhoneType phoneType)
The phone type.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: SOFT_PHONE, DESK_PHONE
phoneType
- The phone type.
PhoneType
public java.lang.Boolean isAutoAccept()
The Auto accept setting.
The Auto accept setting.
public java.lang.Boolean getAutoAccept()
The Auto accept setting.
The Auto accept setting.
public void setAutoAccept(java.lang.Boolean autoAccept)
The Auto accept setting.
autoAccept
- The Auto accept setting.
public UserPhoneConfig withAutoAccept(java.lang.Boolean autoAccept)
The Auto accept setting.
Returns a reference to this object so that method calls can be chained together.
autoAccept
- The Auto accept setting.
public java.lang.Integer getAfterContactWorkTimeLimit()
The After Call Work (ACW) timeout setting, in seconds.
Constraints:
Range: 0 -
The After Call Work (ACW) timeout setting, in seconds.
public void setAfterContactWorkTimeLimit(java.lang.Integer afterContactWorkTimeLimit)
The After Call Work (ACW) timeout setting, in seconds.
Constraints:
Range: 0 -
afterContactWorkTimeLimit
- The After Call Work (ACW) timeout setting, in seconds.
public UserPhoneConfig withAfterContactWorkTimeLimit(java.lang.Integer afterContactWorkTimeLimit)
The After Call Work (ACW) timeout setting, in seconds.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 0 -
afterContactWorkTimeLimit
- The After Call Work (ACW) timeout setting, in seconds.
public java.lang.String getDeskPhoneNumber()
The phone number for the user's desk phone.
The phone number for the user's desk phone.
public void setDeskPhoneNumber(java.lang.String deskPhoneNumber)
The phone number for the user's desk phone.
deskPhoneNumber
- The phone number for the user's desk phone.
public UserPhoneConfig withDeskPhoneNumber(java.lang.String deskPhoneNumber)
The phone number for the user's desk phone.
Returns a reference to this object so that method calls can be chained together.
deskPhoneNumber
- The phone number for the user's desk phone.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.