azure-docs-sdk-java/docs-ref-autogen/com.microsoft.azure.documen...

174 строки
8.9 KiB
YAML

### YamlMime:JavaType
uid: "com.microsoft.azure.documentdb.Resource"
fullName: "com.microsoft.azure.documentdb.Resource"
name: "Resource"
nameWithType: "Resource"
summary: "Represents the base resource in the Azure Cosmos DB database service."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.documentdb.JsonSerializable?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedMembers:
- "com.microsoft.azure.documentdb.JsonSerializable.<T>getCollection(java.lang.String,java.lang.Class<T>)"
- "com.microsoft.azure.documentdb.JsonSerializable.<T>getObject(java.lang.String,java.lang.Class<T>)"
- "com.microsoft.azure.documentdb.JsonSerializable.<T>set(java.lang.String,T)"
- "com.microsoft.azure.documentdb.JsonSerializable.<T>toObject(java.lang.Class<T>)"
- "com.microsoft.azure.documentdb.JsonSerializable.get(java.lang.String)"
- "com.microsoft.azure.documentdb.JsonSerializable.getBoolean(java.lang.String)"
- "com.microsoft.azure.documentdb.JsonSerializable.getCollection(java.lang.String)"
- "com.microsoft.azure.documentdb.JsonSerializable.getDouble(java.lang.String)"
- "com.microsoft.azure.documentdb.JsonSerializable.getHashMap()"
- "com.microsoft.azure.documentdb.JsonSerializable.getInt(java.lang.String)"
- "com.microsoft.azure.documentdb.JsonSerializable.getLogger()"
- "com.microsoft.azure.documentdb.JsonSerializable.getLong(java.lang.String)"
- "com.microsoft.azure.documentdb.JsonSerializable.getMapper()"
- "com.microsoft.azure.documentdb.JsonSerializable.getObject(java.lang.String)"
- "com.microsoft.azure.documentdb.JsonSerializable.getObjectByPath(java.util.Collection<java.lang.String>)"
- "com.microsoft.azure.documentdb.JsonSerializable.getString(java.lang.String)"
- "com.microsoft.azure.documentdb.JsonSerializable.has(java.lang.String)"
- "com.microsoft.azure.documentdb.JsonSerializable.remove(java.lang.String)"
- "com.microsoft.azure.documentdb.JsonSerializable.toJson()"
- "com.microsoft.azure.documentdb.JsonSerializable.toJson(com.microsoft.azure.documentdb.SerializationFormattingPolicy)"
- "com.microsoft.azure.documentdb.JsonSerializable.toString()"
- "com.microsoft.azure.documentdb.JsonSerializable.toString(int)"
- "java.lang.Object.clone()"
- "java.lang.Object.equals(java.lang.Object)"
- "java.lang.Object.finalize()"
- "java.lang.Object.getClass()"
- "java.lang.Object.hashCode()"
- "java.lang.Object.notify()"
- "java.lang.Object.notifyAll()"
- "java.lang.Object.wait()"
- "java.lang.Object.wait(long)"
- "java.lang.Object.wait(long,int)"
syntax: "public class Resource extends JsonSerializable"
constructors:
- uid: "com.microsoft.azure.documentdb.Resource.Resource()"
fullName: "com.microsoft.azure.documentdb.Resource.Resource()"
name: "Resource()"
nameWithType: "Resource.Resource()"
summary: "Constructor."
modifiers:
- "protected"
syntax: "protected Resource()"
desc: "Constructor."
- uid: "com.microsoft.azure.documentdb.Resource.Resource(java.lang.String)"
fullName: "com.microsoft.azure.documentdb.Resource.Resource(String jsonString)"
name: "Resource(String jsonString)"
nameWithType: "Resource.Resource(String jsonString)"
summary: "Constructor."
modifiers:
- "protected"
parameters:
- description: "the json string that represents the resource."
name: "jsonString"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "protected Resource(String jsonString)"
desc: "Constructor."
- uid: "com.microsoft.azure.documentdb.Resource.Resource(java.lang.String,com.fasterxml.jackson.databind.ObjectMapper)"
fullName: "com.microsoft.azure.documentdb.Resource.Resource(String jsonString, ObjectMapper objectMapper)"
name: "Resource(String jsonString, ObjectMapper objectMapper)"
nameWithType: "Resource.Resource(String jsonString, ObjectMapper objectMapper)"
summary: "Constructor."
modifiers:
- "protected"
parameters:
- description: "the json string that represents the resource."
name: "jsonString"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- description: "the custom object mapper"
name: "objectMapper"
type: "<xref href=\"com.fasterxml.jackson.databind.ObjectMapper?alt=com.fasterxml.jackson.databind.ObjectMapper&text=ObjectMapper\" data-throw-if-not-resolved=\"False\" />"
syntax: "protected Resource(String jsonString, ObjectMapper objectMapper)"
desc: "Constructor."
- uid: "com.microsoft.azure.documentdb.Resource.Resource(org.json.JSONObject)"
fullName: "com.microsoft.azure.documentdb.Resource.Resource(JSONObject jsonObject)"
name: "Resource(JSONObject jsonObject)"
nameWithType: "Resource.Resource(JSONObject jsonObject)"
summary: "Constructor."
modifiers:
- "protected"
parameters:
- description: "the json object that represents the resource."
name: "jsonObject"
type: "<xref href=\"org.json.JSONObject?alt=org.json.JSONObject&text=JSONObject\" data-throw-if-not-resolved=\"False\" />"
syntax: "protected Resource(JSONObject jsonObject)"
desc: "Constructor."
methods:
- uid: "com.microsoft.azure.documentdb.Resource.getETag()"
fullName: "com.microsoft.azure.documentdb.Resource.getETag()"
name: "getETag()"
nameWithType: "Resource.getETag()"
summary: "Get the entity tag associated with the resource."
syntax: "public String getETag()"
desc: "Get the entity tag associated with the resource."
returns:
description: "the e tag."
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.documentdb.Resource.getId()"
fullName: "com.microsoft.azure.documentdb.Resource.getId()"
name: "getId()"
nameWithType: "Resource.getId()"
summary: "Gets the name of the resource."
syntax: "public String getId()"
desc: "Gets the name of the resource."
returns:
description: "the name of the resource."
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.documentdb.Resource.getResourceId()"
fullName: "com.microsoft.azure.documentdb.Resource.getResourceId()"
name: "getResourceId()"
nameWithType: "Resource.getResourceId()"
summary: "Gets the ID associated with the resource."
syntax: "public String getResourceId()"
desc: "Gets the ID associated with the resource."
returns:
description: "the ID associated with the resource."
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.documentdb.Resource.getSelfLink()"
fullName: "com.microsoft.azure.documentdb.Resource.getSelfLink()"
name: "getSelfLink()"
nameWithType: "Resource.getSelfLink()"
summary: "Get the self-link associated with the resource."
syntax: "public String getSelfLink()"
desc: "Get the self-link associated with the resource."
returns:
description: "the self link."
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.documentdb.Resource.getTimestamp()"
fullName: "com.microsoft.azure.documentdb.Resource.getTimestamp()"
name: "getTimestamp()"
nameWithType: "Resource.getTimestamp()"
summary: "Get the last modified timestamp associated with the resource."
syntax: "public Date getTimestamp()"
desc: "Get the last modified timestamp associated with the resource."
returns:
description: "the timestamp."
type: "<xref href=\"java.util.Date?alt=java.util.Date&text=Date\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.documentdb.Resource.setId(java.lang.String)"
fullName: "com.microsoft.azure.documentdb.Resource.setId(String id)"
name: "setId(String id)"
nameWithType: "Resource.setId(String id)"
summary: "Sets the name of the resource."
parameters:
- description: "the name of the resource."
name: "id"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public void setId(String id)"
desc: "Sets the name of the resource."
- uid: "com.microsoft.azure.documentdb.Resource.setResourceId(java.lang.String)"
fullName: "com.microsoft.azure.documentdb.Resource.setResourceId(String resourceId)"
name: "setResourceId(String resourceId)"
nameWithType: "Resource.setResourceId(String resourceId)"
summary: "Set the ID associated with the resource."
parameters:
- description: "the ID associated with the resource."
name: "resourceId"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public void setResourceId(String resourceId)"
desc: "Set the ID associated with the resource."
type: "class"
desc: "Represents the base resource in the Azure Cosmos DB database service."
metadata: {}
package: "com.microsoft.azure.documentdb"
artifact: com.microsoft.azure:azure-documentdb:2.4.7