azure-docs-sdk-java/docs-ref-autogen/com.azure.resourcemanager.c...

174 строки
11 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.cosmos.models.CassandraError"
fullName: "com.azure.resourcemanager.cosmos.models.CassandraError"
name: "CassandraError"
nameWithType: "CassandraError"
summary: "The Cassandra<wbr>Error model."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **CassandraError**</br> implements <xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.cosmos.models.CassandraError?alt=com.azure.resourcemanager.cosmos.models.CassandraError&text=CassandraError\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.cosmos.models.CassandraError.CassandraError()"
fullName: "com.azure.resourcemanager.cosmos.models.CassandraError.CassandraError()"
name: "CassandraError()"
nameWithType: "CassandraError.CassandraError()"
summary: "Creates an instance of Cassandra<wbr>Error class."
syntax: "public CassandraError()"
desc: "Creates an instance of CassandraError class."
methods:
- uid: "com.azure.resourcemanager.cosmos.models.CassandraError.additionalErrorInfo()"
fullName: "com.azure.resourcemanager.cosmos.models.CassandraError.additionalErrorInfo()"
name: "additionalErrorInfo()"
nameWithType: "CassandraError.additionalErrorInfo()"
summary: "Get the additional<wbr>Error<wbr>Info property: Additional information about the error."
syntax: "public String additionalErrorInfo()"
desc: "Get the additionalErrorInfo property: Additional information about the error."
returns:
description: "the additionalErrorInfo value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.cosmos.models.CassandraError.code()"
fullName: "com.azure.resourcemanager.cosmos.models.CassandraError.code()"
name: "code()"
nameWithType: "CassandraError.code()"
summary: "Get the code property: The code of error that occurred."
syntax: "public String code()"
desc: "Get the code property: The code of error that occurred."
returns:
description: "the code value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.cosmos.models.CassandraError.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.cosmos.models.CassandraError.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "CassandraError.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Cassandra<wbr>Error from the Json<wbr>Reader."
modifiers:
- "static"
parameters:
- description: "The JsonReader being read."
name: "jsonReader"
type: "<xref href=\"com.azure.json.JsonReader?alt=com.azure.json.JsonReader&text=JsonReader\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static CassandraError fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the CassandraError."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads an instance of CassandraError from the JsonReader."
returns:
description: "An instance of CassandraError if the JsonReader was pointing to an instance of it, or null if it was\n pointing to JSON null."
type: "<xref href=\"com.azure.resourcemanager.cosmos.models.CassandraError?alt=com.azure.resourcemanager.cosmos.models.CassandraError&text=CassandraError\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.cosmos.models.CassandraError.message()"
fullName: "com.azure.resourcemanager.cosmos.models.CassandraError.message()"
name: "message()"
nameWithType: "CassandraError.message()"
summary: "Get the message property: The message of the error."
syntax: "public String message()"
desc: "Get the message property: The message of the error."
returns:
description: "the message value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.cosmos.models.CassandraError.target()"
fullName: "com.azure.resourcemanager.cosmos.models.CassandraError.target()"
name: "target()"
nameWithType: "CassandraError.target()"
summary: "Get the target property: The target resource of the error."
syntax: "public String target()"
desc: "Get the target property: The target resource of the error."
returns:
description: "the target value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.cosmos.models.CassandraError.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.cosmos.models.CassandraError.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "CassandraError.toJson(JsonWriter jsonWriter)"
parameters:
- name: "jsonWriter"
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
exceptions:
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
returns:
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.cosmos.models.CassandraError.validate()"
fullName: "com.azure.resourcemanager.cosmos.models.CassandraError.validate()"
name: "validate()"
nameWithType: "CassandraError.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.cosmos.models.CassandraError.withAdditionalErrorInfo(java.lang.String)"
fullName: "com.azure.resourcemanager.cosmos.models.CassandraError.withAdditionalErrorInfo(String additionalErrorInfo)"
name: "withAdditionalErrorInfo(String additionalErrorInfo)"
nameWithType: "CassandraError.withAdditionalErrorInfo(String additionalErrorInfo)"
summary: "Set the additional<wbr>Error<wbr>Info property: Additional information about the error."
parameters:
- description: "the additionalErrorInfo value to set."
name: "additionalErrorInfo"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public CassandraError withAdditionalErrorInfo(String additionalErrorInfo)"
desc: "Set the additionalErrorInfo property: Additional information about the error."
returns:
description: "the CassandraError object itself."
type: "<xref href=\"com.azure.resourcemanager.cosmos.models.CassandraError?alt=com.azure.resourcemanager.cosmos.models.CassandraError&text=CassandraError\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.cosmos.models.CassandraError.withCode(java.lang.String)"
fullName: "com.azure.resourcemanager.cosmos.models.CassandraError.withCode(String code)"
name: "withCode(String code)"
nameWithType: "CassandraError.withCode(String code)"
summary: "Set the code property: The code of error that occurred."
parameters:
- description: "the code value to set."
name: "code"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public CassandraError withCode(String code)"
desc: "Set the code property: The code of error that occurred."
returns:
description: "the CassandraError object itself."
type: "<xref href=\"com.azure.resourcemanager.cosmos.models.CassandraError?alt=com.azure.resourcemanager.cosmos.models.CassandraError&text=CassandraError\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.cosmos.models.CassandraError.withMessage(java.lang.String)"
fullName: "com.azure.resourcemanager.cosmos.models.CassandraError.withMessage(String message)"
name: "withMessage(String message)"
nameWithType: "CassandraError.withMessage(String message)"
summary: "Set the message property: The message of the error."
parameters:
- description: "the message value to set."
name: "message"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public CassandraError withMessage(String message)"
desc: "Set the message property: The message of the error."
returns:
description: "the CassandraError object itself."
type: "<xref href=\"com.azure.resourcemanager.cosmos.models.CassandraError?alt=com.azure.resourcemanager.cosmos.models.CassandraError&text=CassandraError\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.cosmos.models.CassandraError.withTarget(java.lang.String)"
fullName: "com.azure.resourcemanager.cosmos.models.CassandraError.withTarget(String target)"
name: "withTarget(String target)"
nameWithType: "CassandraError.withTarget(String target)"
summary: "Set the target property: The target resource of the error."
parameters:
- description: "the target value to set."
name: "target"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public CassandraError withTarget(String target)"
desc: "Set the target property: The target resource of the error."
returns:
description: "the CassandraError object itself."
type: "<xref href=\"com.azure.resourcemanager.cosmos.models.CassandraError?alt=com.azure.resourcemanager.cosmos.models.CassandraError&text=CassandraError\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "The CassandraError model."
implements:
- "<xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.cosmos.models.CassandraError?alt=com.azure.resourcemanager.cosmos.models.CassandraError&text=CassandraError\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.cosmos.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-cosmos:2.44.0