com.microsoft.azure.management.cosmosdb.CassandraSchema Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-mgmt-cosmosdb Show documentation
Show all versions of azure-mgmt-cosmosdb Show documentation
This package contains Microsoft Azure CosmosDB SDK. A new set of management libraries are now Generally Available. For documentation on how to use the new libraries, please see https://aka.ms/azsdk/java/mgmt
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.cosmosdb;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* Cosmos DB Cassandra table schema.
*/
public class CassandraSchema {
/**
* List of Cassandra table columns.
*/
@JsonProperty(value = "columns")
private List columns;
/**
* List of partition key.
*/
@JsonProperty(value = "partitionKeys")
private List partitionKeys;
/**
* List of cluster key.
*/
@JsonProperty(value = "clusterKeys")
private List clusterKeys;
/**
* Get list of Cassandra table columns.
*
* @return the columns value
*/
public List columns() {
return this.columns;
}
/**
* Set list of Cassandra table columns.
*
* @param columns the columns value to set
* @return the CassandraSchema object itself.
*/
public CassandraSchema withColumns(List columns) {
this.columns = columns;
return this;
}
/**
* Get list of partition key.
*
* @return the partitionKeys value
*/
public List partitionKeys() {
return this.partitionKeys;
}
/**
* Set list of partition key.
*
* @param partitionKeys the partitionKeys value to set
* @return the CassandraSchema object itself.
*/
public CassandraSchema withPartitionKeys(List partitionKeys) {
this.partitionKeys = partitionKeys;
return this;
}
/**
* Get list of cluster key.
*
* @return the clusterKeys value
*/
public List clusterKeys() {
return this.clusterKeys;
}
/**
* Set list of cluster key.
*
* @param clusterKeys the clusterKeys value to set
* @return the CassandraSchema object itself.
*/
public CassandraSchema withClusterKeys(List clusterKeys) {
this.clusterKeys = clusterKeys;
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy