com.azure.resourcemanager.cosmos.fluent.models.DataCenterResourceInner 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.Fluent;
import com.azure.resourcemanager.cosmos.models.ArmProxyResource;
import com.azure.resourcemanager.cosmos.models.DataCenterResourceProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* A managed Cassandra data center.
*/
@Fluent
public final class DataCenterResourceInner extends ArmProxyResource {
/*
* Properties of a managed Cassandra data center.
*/
@JsonProperty(value = "properties")
private DataCenterResourceProperties properties;
/**
* Creates an instance of DataCenterResourceInner class.
*/
public DataCenterResourceInner() {
}
/**
* Get the properties property: Properties of a managed Cassandra data center.
*
* @return the properties value.
*/
public DataCenterResourceProperties properties() {
return this.properties;
}
/**
* Set the properties property: Properties of a managed Cassandra data center.
*
* @param properties the properties value to set.
* @return the DataCenterResourceInner object itself.
*/
public DataCenterResourceInner withProperties(DataCenterResourceProperties properties) {
this.properties = properties;
return this;
}
/**
* Validates the instance.
*
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
@Override
public void validate() {
super.validate();
if (properties() != null) {
properties().validate();
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy