### YamlMime:JavaType uid: "com.azure.ai.contentsafety.models.TextBlocklistItem" fullName: "com.azure.ai.contentsafety.models.TextBlocklistItem" name: "TextBlocklistItem" nameWithType: "TextBlocklistItem" summary: "Item in a TextBlocklist." inheritances: - "" inheritedClassMethods: - classRef: "java.lang.Object" methodsRef: - "clone" - "equals" - "finalize" - "getClass" - "hashCode" - "notify" - "notifyAll" - "toString" - "wait" - "wait" - "wait" syntax: "public final class **TextBlocklistItem**" constructors: - uid: "com.azure.ai.contentsafety.models.TextBlocklistItem.TextBlocklistItem(java.lang.String)" fullName: "com.azure.ai.contentsafety.models.TextBlocklistItem.TextBlocklistItem(String text)" name: "TextBlocklistItem(String text)" nameWithType: "TextBlocklistItem.TextBlocklistItem(String text)" summary: "Creates an instance of TextBlocklistItem class." parameters: - description: "the text value to set." name: "text" type: "String" syntax: "public TextBlocklistItem(String text)" desc: "Creates an instance of TextBlocklistItem class." methods: - uid: "com.azure.ai.contentsafety.models.TextBlocklistItem.getBlocklistItemId()" fullName: "com.azure.ai.contentsafety.models.TextBlocklistItem.getBlocklistItemId()" name: "getBlocklistItemId()" nameWithType: "TextBlocklistItem.getBlocklistItemId()" summary: "Get the blocklistItemId property: The service will generate a BlocklistItemId, which will be a UUID." syntax: "public String getBlocklistItemId()" desc: "Get the blocklistItemId property: The service will generate a BlocklistItemId, which will be a UUID." returns: description: "the blocklistItemId value." type: "String" - uid: "com.azure.ai.contentsafety.models.TextBlocklistItem.getDescription()" fullName: "com.azure.ai.contentsafety.models.TextBlocklistItem.getDescription()" name: "getDescription()" nameWithType: "TextBlocklistItem.getDescription()" summary: "Get the description property: BlocklistItem description." syntax: "public String getDescription()" desc: "Get the description property: BlocklistItem description." returns: description: "the description value." type: "String" - uid: "com.azure.ai.contentsafety.models.TextBlocklistItem.getText()" fullName: "com.azure.ai.contentsafety.models.TextBlocklistItem.getText()" name: "getText()" nameWithType: "TextBlocklistItem.getText()" summary: "Get the text property: BlocklistItem content." syntax: "public String getText()" desc: "Get the text property: BlocklistItem content." returns: description: "the text value." type: "String" - uid: "com.azure.ai.contentsafety.models.TextBlocklistItem.setDescription(java.lang.String)" fullName: "com.azure.ai.contentsafety.models.TextBlocklistItem.setDescription(String description)" name: "setDescription(String description)" nameWithType: "TextBlocklistItem.setDescription(String description)" summary: "Set the description property: BlocklistItem description." parameters: - description: "the description value to set." name: "description" type: "String" syntax: "public TextBlocklistItem setDescription(String description)" desc: "Set the description property: BlocklistItem description." returns: description: "the TextBlocklistItem object itself." type: "" type: "class" desc: "Item in a TextBlocklist." metadata: {} package: "com.azure.ai.contentsafety.models" artifact: com.azure:azure-ai-contentsafety:1.0.6