### YamlMime:JavaType uid: "com.azure.communication.chat.models.CreateChatThreadOptions" fullName: "com.azure.communication.chat.models.CreateChatThreadOptions" name: "CreateChatThreadOptions" nameWithType: "CreateChatThreadOptions" summary: "The CreateChatThreadOptions model." inheritances: - "" inheritedClassMethods: - classRef: "java.lang.Object" methodsRef: - "clone" - "equals" - "finalize" - "getClass" - "hashCode" - "notify" - "notifyAll" - "toString" - "wait" - "wait" - "wait" syntax: "public final class **CreateChatThreadOptions**" constructors: - uid: "com.azure.communication.chat.models.CreateChatThreadOptions.CreateChatThreadOptions(java.lang.String)" fullName: "com.azure.communication.chat.models.CreateChatThreadOptions.CreateChatThreadOptions(String topic)" name: "CreateChatThreadOptions(String topic)" nameWithType: "CreateChatThreadOptions.CreateChatThreadOptions(String topic)" summary: "Creates a new instance of CreateChatThreadOptions" parameters: - description: "the topic value to set." name: "topic" type: "String" syntax: "public CreateChatThreadOptions(String topic)" desc: "Creates a new instance of CreateChatThreadOptions" methods: - uid: "com.azure.communication.chat.models.CreateChatThreadOptions.addParticipant(com.azure.communication.chat.models.ChatParticipant)" fullName: "com.azure.communication.chat.models.CreateChatThreadOptions.addParticipant(ChatParticipant participant)" name: "addParticipant(ChatParticipant participant)" nameWithType: "CreateChatThreadOptions.addParticipant(ChatParticipant participant)" summary: "Adds another participant to the list of participants to create the chat thread with" parameters: - description: "The participant to add" name: "participant" type: "" syntax: "public CreateChatThreadOptions addParticipant(ChatParticipant participant)" desc: "Adds another participant to the list of participants to create the chat thread with" returns: description: "the CreateChatThreadOptions object itself" type: "" - uid: "com.azure.communication.chat.models.CreateChatThreadOptions.getIdempotencyToken()" fullName: "com.azure.communication.chat.models.CreateChatThreadOptions.getIdempotencyToken()" name: "getIdempotencyToken()" nameWithType: "CreateChatThreadOptions.getIdempotencyToken()" summary: "Get the idempotencyToken property" syntax: "public String getIdempotencyToken()" desc: "Get the idempotencyToken property" returns: description: "the idempotencyToken." type: "String" - uid: "com.azure.communication.chat.models.CreateChatThreadOptions.getParticipants()" fullName: "com.azure.communication.chat.models.CreateChatThreadOptions.getParticipants()" name: "getParticipants()" nameWithType: "CreateChatThreadOptions.getParticipants()" summary: "Get the participants property: Participants to be added to the chat thread." syntax: "public List getParticipants()" desc: "Get the participants property: Participants to be added to the chat thread." returns: description: "the participants value." type: "List<>" - uid: "com.azure.communication.chat.models.CreateChatThreadOptions.getTopic()" fullName: "com.azure.communication.chat.models.CreateChatThreadOptions.getTopic()" name: "getTopic()" nameWithType: "CreateChatThreadOptions.getTopic()" summary: "Get the topic property: The chat thread topic." syntax: "public String getTopic()" desc: "Get the topic property: The chat thread topic." returns: description: "the topic value." type: "String" - uid: "com.azure.communication.chat.models.CreateChatThreadOptions.setIdempotencyToken(java.lang.String)" fullName: "com.azure.communication.chat.models.CreateChatThreadOptions.setIdempotencyToken(String idempotencyToken)" name: "setIdempotencyToken(String idempotencyToken)" nameWithType: "CreateChatThreadOptions.setIdempotencyToken(String idempotencyToken)" summary: "Set the idempotencyToken property: If specified, the client directs that the request is repeatable; that is, that the client can make the request multiple times with the same idempotencyToken and get back an appropriate response without the server executing the request multiple times." parameters: - description: "the idempotencyToken." name: "idempotencyToken" type: "String" syntax: "public CreateChatThreadOptions setIdempotencyToken(String idempotencyToken)" desc: "Set the idempotencyToken property: If specified, the client directs that the request is repeatable; that is, that the client can make the request multiple times with the same idempotencyToken and get back an appropriate response without the server executing the request multiple times. The value of the idempotencyToken is an opaque string representing a client-generated, globally unique for all time, identifier for the request. It is recommended to use version 4 (random) UUIDs." returns: description: "the CreateChatThreadOptions object itself." type: "" - uid: "com.azure.communication.chat.models.CreateChatThreadOptions.setParticipants(java.util.List)" fullName: "com.azure.communication.chat.models.CreateChatThreadOptions.setParticipants(List participants)" name: "setParticipants(List participants)" nameWithType: "CreateChatThreadOptions.setParticipants(List participants)" summary: "Set the participants property: Participants to be added to the chat thread." parameters: - description: "the participants value to set." name: "participants" type: "List<>" syntax: "public CreateChatThreadOptions setParticipants(List participants)" desc: "Set the participants property: Participants to be added to the chat thread." returns: description: "the CreateChatThreadOptions object itself." type: "" type: "class" desc: "The CreateChatThreadOptions model." metadata: {} package: "com.azure.communication.chat.models" artifact: com.azure:azure-communication-chat:1.5.6