com.pulumi.azurenative.documentdb.outputs.ClusterKeyResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azurenative.documentdb.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ClusterKeyResponse {
/**
* @return Name of the Cosmos DB Cassandra table cluster key
*
*/
private @Nullable String name;
/**
* @return Order of the Cosmos DB Cassandra table cluster key, only support "Asc" and "Desc"
*
*/
private @Nullable String orderBy;
private ClusterKeyResponse() {}
/**
* @return Name of the Cosmos DB Cassandra table cluster key
*
*/
public Optional name() {
return Optional.ofNullable(this.name);
}
/**
* @return Order of the Cosmos DB Cassandra table cluster key, only support "Asc" and "Desc"
*
*/
public Optional orderBy() {
return Optional.ofNullable(this.orderBy);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ClusterKeyResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String name;
private @Nullable String orderBy;
public Builder() {}
public Builder(ClusterKeyResponse defaults) {
Objects.requireNonNull(defaults);
this.name = defaults.name;
this.orderBy = defaults.orderBy;
}
@CustomType.Setter
public Builder name(@Nullable String name) {
this.name = name;
return this;
}
@CustomType.Setter
public Builder orderBy(@Nullable String orderBy) {
this.orderBy = orderBy;
return this;
}
public ClusterKeyResponse build() {
final var _resultValue = new ClusterKeyResponse();
_resultValue.name = name;
_resultValue.orderBy = orderBy;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy