Class CreateServiceCloudChannelDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.oda.model.CreateChannelDetails
-
- com.oracle.bmc.oda.model.CreateServiceCloudChannelDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20190506") public final class CreateServiceCloudChannelDetails extends CreateChannelDetailsProperties required to create an Service Cloud channel.
Note: Objects should always be created or deserialized using theCreateServiceCloudChannelDetails.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theCreateServiceCloudChannelDetails.Builder, which maintain a set of all explicitly set fields calledCreateServiceCloudChannelDetails.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreateServiceCloudChannelDetails.Builder
-
Constructor Summary
Constructors Constructor Description CreateServiceCloudChannelDetails(String name, String description, Long sessionExpiryDurationInMilliseconds, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, String domainName, String hostNamePrefix, String userName, String password, ServiceCloudClientType clientType)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateServiceCloudChannelDetails.Builderbuilder()Create a new builder.booleanequals(Object o)ServiceCloudClientTypegetClientType()The type of Service Cloud client.StringgetDomainName()The domain name.StringgetHostNamePrefix()The host prefix.StringgetPassword()The password for the Oracle B2C Service staff member who has the necessary profile permissions.StringgetUserName()The user name for an Oracle B2C Service staff member who has the necessary profile permissions.inthashCode()CreateServiceCloudChannelDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.-
Methods inherited from class com.oracle.bmc.oda.model.CreateChannelDetails
getDefinedTags, getDescription, getFreeformTags, getName, getSessionExpiryDurationInMilliseconds
-
-
-
-
Constructor Detail
-
CreateServiceCloudChannelDetails
@Deprecated public CreateServiceCloudChannelDetails(String name, String description, Long sessionExpiryDurationInMilliseconds, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, String domainName, String hostNamePrefix, String userName, String password, ServiceCloudClientType clientType)
Deprecated.
-
-
Method Detail
-
builder
public static CreateServiceCloudChannelDetails.Builder builder()
Create a new builder.
-
toBuilder
public CreateServiceCloudChannelDetails.Builder toBuilder()
-
getDomainName
public String getDomainName()
The domain name.If you have access to Oracle B2C Service, you can derive this value from the URL that you use to launch the Agent Browser User Interface. For example, if the URL is sitename.exampledomain.com, then the host name prefix is sitename and the domain name is exampledomain.com.
If the channel is connecting to Oracle B2C Service version 19A or later, and you have multiple interfaces, then you must include the interface ID in the host (site) name . For example, for the interface that has an ID of 2, you would use something like sitename-2.exampledomain.com.
- Returns:
- the value
-
getHostNamePrefix
public String getHostNamePrefix()
The host prefix.If you have access to Oracle B2C Service, you can derive this value from the URL that you use to launch the Agent Browser User Interface. For example, if the URL is sitename.exampledomain.com, then the host name prefix is sitename and the domain name is exampledomain.com.
If the channel is connecting to Oracle B2C Service version 19A or later, and you have multiple interfaces, then you must include the interface ID in the host (site) name . For example, for the interface that has an ID of 2, you would use something like sitename-2.exampledomain.com.
- Returns:
- the value
-
getUserName
public String getUserName()
The user name for an Oracle B2C Service staff member who has the necessary profile permissions.- Returns:
- the value
-
getPassword
public String getPassword()
The password for the Oracle B2C Service staff member who has the necessary profile permissions.- Returns:
- the value
-
getClientType
public ServiceCloudClientType getClientType()
The type of Service Cloud client.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classCreateChannelDetails
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toStringin classCreateChannelDetails- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classCreateChannelDetails
-
hashCode
public int hashCode()
- Overrides:
hashCodein classCreateChannelDetails
-
-