com.azure.resourcemanager.cosmos.models.RestorableSqlContainerPropertiesResourceContainer 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.models;
import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
/**
* Cosmos DB SQL container resource object.
*/
@Fluent
public final class RestorableSqlContainerPropertiesResourceContainer extends SqlContainerResource {
/*
* A system generated property that specifies the addressable path of the container resource.
*/
@JsonProperty(value = "_self", access = JsonProperty.Access.WRITE_ONLY)
private String self;
/*
* A system generated property. A unique identifier.
*/
@JsonProperty(value = "_rid", access = JsonProperty.Access.WRITE_ONLY)
private String rid;
/*
* A system generated property that denotes the last updated timestamp of the resource.
*/
@JsonProperty(value = "_ts", access = JsonProperty.Access.WRITE_ONLY)
private Float ts;
/*
* A system generated property representing the resource etag required for optimistic concurrency control.
*/
@JsonProperty(value = "_etag", access = JsonProperty.Access.WRITE_ONLY)
private String etag;
/**
* Creates an instance of RestorableSqlContainerPropertiesResourceContainer class.
*/
public RestorableSqlContainerPropertiesResourceContainer() {
}
/**
* Get the self property: A system generated property that specifies the addressable path of the container resource.
*
* @return the self value.
*/
public String self() {
return this.self;
}
/**
* Get the rid property: A system generated property. A unique identifier.
*
* @return the rid value.
*/
public String rid() {
return this.rid;
}
/**
* Get the ts property: A system generated property that denotes the last updated timestamp of the resource.
*
* @return the ts value.
*/
public Float ts() {
return this.ts;
}
/**
* Get the etag property: A system generated property representing the resource etag required for optimistic
* concurrency control.
*
* @return the etag value.
*/
public String etag() {
return this.etag;
}
/**
* {@inheritDoc}
*/
@Override
public RestorableSqlContainerPropertiesResourceContainer withId(String id) {
super.withId(id);
return this;
}
/**
* {@inheritDoc}
*/
@Override
public RestorableSqlContainerPropertiesResourceContainer withIndexingPolicy(IndexingPolicy indexingPolicy) {
super.withIndexingPolicy(indexingPolicy);
return this;
}
/**
* {@inheritDoc}
*/
@Override
public RestorableSqlContainerPropertiesResourceContainer withPartitionKey(ContainerPartitionKey partitionKey) {
super.withPartitionKey(partitionKey);
return this;
}
/**
* {@inheritDoc}
*/
@Override
public RestorableSqlContainerPropertiesResourceContainer withDefaultTtl(Integer defaultTtl) {
super.withDefaultTtl(defaultTtl);
return this;
}
/**
* {@inheritDoc}
*/
@Override
public RestorableSqlContainerPropertiesResourceContainer withUniqueKeyPolicy(UniqueKeyPolicy uniqueKeyPolicy) {
super.withUniqueKeyPolicy(uniqueKeyPolicy);
return this;
}
/**
* {@inheritDoc}
*/
@Override
public RestorableSqlContainerPropertiesResourceContainer
withConflictResolutionPolicy(ConflictResolutionPolicy conflictResolutionPolicy) {
super.withConflictResolutionPolicy(conflictResolutionPolicy);
return this;
}
/**
* {@inheritDoc}
*/
@Override
public RestorableSqlContainerPropertiesResourceContainer
withClientEncryptionPolicy(ClientEncryptionPolicy clientEncryptionPolicy) {
super.withClientEncryptionPolicy(clientEncryptionPolicy);
return this;
}
/**
* {@inheritDoc}
*/
@Override
public RestorableSqlContainerPropertiesResourceContainer withAnalyticalStorageTtl(Long analyticalStorageTtl) {
super.withAnalyticalStorageTtl(analyticalStorageTtl);
return this;
}
/**
* {@inheritDoc}
*/
@Override
public RestorableSqlContainerPropertiesResourceContainer
withRestoreParameters(ResourceRestoreParameters restoreParameters) {
super.withRestoreParameters(restoreParameters);
return this;
}
/**
* {@inheritDoc}
*/
@Override
public RestorableSqlContainerPropertiesResourceContainer withCreateMode(CreateMode createMode) {
super.withCreateMode(createMode);
return this;
}
/**
* {@inheritDoc}
*/
@Override
public RestorableSqlContainerPropertiesResourceContainer
withComputedProperties(List computedProperties) {
super.withComputedProperties(computedProperties);
return this;
}
/**
* 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