com.azure.resourcemanager.cosmos.fluent.models.PartitionUsageInner Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-cosmos Show documentation
Show all versions of azure-resourcemanager-cosmos Show documentation
This package contains Microsoft Azure CosmosDB SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.cosmos.fluent.models;
import com.azure.core.annotation.Immutable;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* The partition level usage data for a usage request.
*/
@Immutable
public final class PartitionUsageInner extends UsageInner {
/*
* The partition id (GUID identifier) of the usages.
*/
@JsonProperty(value = "partitionId", access = JsonProperty.Access.WRITE_ONLY)
private String partitionId;
/*
* The partition key range id (integer identifier) of the usages.
*/
@JsonProperty(value = "partitionKeyRangeId", access = JsonProperty.Access.WRITE_ONLY)
private String partitionKeyRangeId;
/**
* Creates an instance of PartitionUsageInner class.
*/
public PartitionUsageInner() {
}
/**
* Get the partitionId property: The partition id (GUID identifier) of the usages.
*
* @return the partitionId value.
*/
public String partitionId() {
return this.partitionId;
}
/**
* Get the partitionKeyRangeId property: The partition key range id (integer identifier) of the usages.
*
* @return the partitionKeyRangeId value.
*/
public String partitionKeyRangeId() {
return this.partitionKeyRangeId;
}
/**
* Validates the instance.
*
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
@Override
public void validate() {
super.validate();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy