azure-docs-sdk-java/docs-ref-autogen/com.azure.cosmos.models.Cos...

143 строки
8.9 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.cosmos.models.CosmosItemResponse"
fullName: "com.azure.cosmos.models.CosmosItemResponse<T>"
name: "CosmosItemResponse<T>"
nameWithType: "CosmosItemResponse<T>"
summary: "The type Cosmos item response."
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 class **CosmosItemResponse<T>**"
methods:
- uid: "com.azure.cosmos.models.CosmosItemResponse.getActivityId()"
fullName: "com.azure.cosmos.models.CosmosItemResponse<T>.getActivityId()"
name: "getActivityId()"
nameWithType: "CosmosItemResponse<T>.getActivityId()"
summary: "Gets the Activity ID for the request."
syntax: "public String getActivityId()"
desc: "Gets the Activity ID for the request."
returns:
description: "the activity getId."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.cosmos.models.CosmosItemResponse.getCurrentResourceQuotaUsage()"
fullName: "com.azure.cosmos.models.CosmosItemResponse<T>.getCurrentResourceQuotaUsage()"
name: "getCurrentResourceQuotaUsage()"
nameWithType: "CosmosItemResponse<T>.getCurrentResourceQuotaUsage()"
summary: "Gets the current size of this entity (in megabytes (MB) for server resources and in count for master resources)"
syntax: "public String getCurrentResourceQuotaUsage()"
desc: "Gets the current size of this entity (in megabytes (MB) for server resources and in count for master resources)"
returns:
description: "the current resource quota usage."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.cosmos.models.CosmosItemResponse.getDiagnostics()"
fullName: "com.azure.cosmos.models.CosmosItemResponse<T>.getDiagnostics()"
name: "getDiagnostics()"
nameWithType: "CosmosItemResponse<T>.getDiagnostics()"
summary: "Gets the diagnostics information for the current request to Azure Cosmos DB service."
syntax: "public CosmosDiagnostics getDiagnostics()"
desc: "Gets the diagnostics information for the current request to Azure Cosmos DB service."
returns:
description: "diagnostics information for the current request to Azure Cosmos DB service."
type: "<xref href=\"com.azure.cosmos.CosmosDiagnostics?alt=com.azure.cosmos.CosmosDiagnostics&text=CosmosDiagnostics\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.cosmos.models.CosmosItemResponse.getDuration()"
fullName: "com.azure.cosmos.models.CosmosItemResponse<T>.getDuration()"
name: "getDuration()"
nameWithType: "CosmosItemResponse<T>.getDuration()"
summary: "Gets the end-to-end request latency for the current request to Azure Cosmos DB service."
syntax: "public Duration getDuration()"
desc: "Gets the end-to-end request latency for the current request to Azure Cosmos DB service."
returns:
description: "end-to-end request latency for the current request to Azure Cosmos DB service."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html\">Duration</a>"
- uid: "com.azure.cosmos.models.CosmosItemResponse.getETag()"
fullName: "com.azure.cosmos.models.CosmosItemResponse<T>.getETag()"
name: "getETag()"
nameWithType: "CosmosItemResponse<T>.getETag()"
summary: "Gets the ETag from the response headers."
syntax: "public String getETag()"
desc: "Gets the ETag from the response headers. This is only relevant when getting response from the server. Null in case of delete operation."
returns:
description: "ETag"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.cosmos.models.CosmosItemResponse.getItem()"
fullName: "com.azure.cosmos.models.CosmosItemResponse<T>.getItem()"
name: "getItem()"
nameWithType: "CosmosItemResponse<T>.getItem()"
summary: "Gets the resource."
syntax: "public T getItem()"
desc: "Gets the resource."
returns:
description: "the resource"
type: "<xref href=\"T?alt=T&text=T\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.cosmos.models.CosmosItemResponse.getMaxResourceQuota()"
fullName: "com.azure.cosmos.models.CosmosItemResponse<T>.getMaxResourceQuota()"
name: "getMaxResourceQuota()"
nameWithType: "CosmosItemResponse<T>.getMaxResourceQuota()"
summary: "Gets the maximum size limit for this entity (in megabytes (MB) for server resources and in count for master resources)."
syntax: "public String getMaxResourceQuota()"
desc: "Gets the maximum size limit for this entity (in megabytes (MB) for server resources and in count for master resources)."
returns:
description: "the max resource quota."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.cosmos.models.CosmosItemResponse.getRequestCharge()"
fullName: "com.azure.cosmos.models.CosmosItemResponse<T>.getRequestCharge()"
name: "getRequestCharge()"
nameWithType: "CosmosItemResponse<T>.getRequestCharge()"
summary: "Gets the request charge as request units (RU) consumed by the operation."
syntax: "public double getRequestCharge()"
desc: "Gets the request charge as request units (RU) consumed by the operation.\n\nFor more information about the RU and factors that can impact the effective charges please visit [Request Units in Azure Cosmos DB][]\n\n\n[Request Units in Azure Cosmos DB]: https://docs.microsoft.com/en-us/azure/cosmos-db/request-units"
returns:
description: "the request charge."
type: "<xref href=\"double?alt=double&text=double\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.cosmos.models.CosmosItemResponse.getResponseHeaders()"
fullName: "com.azure.cosmos.models.CosmosItemResponse<T>.getResponseHeaders()"
name: "getResponseHeaders()"
nameWithType: "CosmosItemResponse<T>.getResponseHeaders()"
summary: "Gets the headers associated with the response."
syntax: "public Map<String,String> getResponseHeaders()"
desc: "Gets the headers associated with the response."
returns:
description: "the response headers."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Map.html\">Map</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>,<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>&gt;"
- uid: "com.azure.cosmos.models.CosmosItemResponse.getSessionToken()"
fullName: "com.azure.cosmos.models.CosmosItemResponse<T>.getSessionToken()"
name: "getSessionToken()"
nameWithType: "CosmosItemResponse<T>.getSessionToken()"
summary: "Gets the token used for managing client's consistency requirements."
syntax: "public String getSessionToken()"
desc: "Gets the token used for managing client's consistency requirements."
returns:
description: "the session token."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.cosmos.models.CosmosItemResponse.getStatusCode()"
fullName: "com.azure.cosmos.models.CosmosItemResponse<T>.getStatusCode()"
name: "getStatusCode()"
nameWithType: "CosmosItemResponse<T>.getStatusCode()"
summary: "Gets the HTTP status code associated with the response."
syntax: "public int getStatusCode()"
desc: "Gets the HTTP status code associated with the response."
returns:
description: "the status code."
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
type: "class"
typeParameters:
- description: "the type parameter"
name: "T"
desc: "The type Cosmos item response. This contains the item and response methods"
metadata: {}
package: "com.azure.cosmos.models"
artifact: com.azure:azure-cosmos:4.63.4