com.pulumi.azurenative.documentdb.outputs.SqlDatabaseGetPropertiesResponseResource 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 com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Double;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class SqlDatabaseGetPropertiesResponseResource {
/**
* @return A system generated property that specified the addressable path of the collections resource.
*
*/
private @Nullable String colls;
/**
* @return A system generated property representing the resource etag required for optimistic concurrency control.
*
*/
private String etag;
/**
* @return Name of the Cosmos DB SQL database
*
*/
private String id;
/**
* @return A system generated property. A unique identifier.
*
*/
private String rid;
/**
* @return A system generated property that denotes the last updated timestamp of the resource.
*
*/
private Double ts;
/**
* @return A system generated property that specifies the addressable path of the users resource.
*
*/
private @Nullable String users;
private SqlDatabaseGetPropertiesResponseResource() {}
/**
* @return A system generated property that specified the addressable path of the collections resource.
*
*/
public Optional colls() {
return Optional.ofNullable(this.colls);
}
/**
* @return A system generated property representing the resource etag required for optimistic concurrency control.
*
*/
public String etag() {
return this.etag;
}
/**
* @return Name of the Cosmos DB SQL database
*
*/
public String id() {
return this.id;
}
/**
* @return A system generated property. A unique identifier.
*
*/
public String rid() {
return this.rid;
}
/**
* @return A system generated property that denotes the last updated timestamp of the resource.
*
*/
public Double ts() {
return this.ts;
}
/**
* @return A system generated property that specifies the addressable path of the users resource.
*
*/
public Optional users() {
return Optional.ofNullable(this.users);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(SqlDatabaseGetPropertiesResponseResource defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String colls;
private String etag;
private String id;
private String rid;
private Double ts;
private @Nullable String users;
public Builder() {}
public Builder(SqlDatabaseGetPropertiesResponseResource defaults) {
Objects.requireNonNull(defaults);
this.colls = defaults.colls;
this.etag = defaults.etag;
this.id = defaults.id;
this.rid = defaults.rid;
this.ts = defaults.ts;
this.users = defaults.users;
}
@CustomType.Setter
public Builder colls(@Nullable String colls) {
this.colls = colls;
return this;
}
@CustomType.Setter
public Builder etag(String etag) {
if (etag == null) {
throw new MissingRequiredPropertyException("SqlDatabaseGetPropertiesResponseResource", "etag");
}
this.etag = etag;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("SqlDatabaseGetPropertiesResponseResource", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder rid(String rid) {
if (rid == null) {
throw new MissingRequiredPropertyException("SqlDatabaseGetPropertiesResponseResource", "rid");
}
this.rid = rid;
return this;
}
@CustomType.Setter
public Builder ts(Double ts) {
if (ts == null) {
throw new MissingRequiredPropertyException("SqlDatabaseGetPropertiesResponseResource", "ts");
}
this.ts = ts;
return this;
}
@CustomType.Setter
public Builder users(@Nullable String users) {
this.users = users;
return this;
}
public SqlDatabaseGetPropertiesResponseResource build() {
final var _resultValue = new SqlDatabaseGetPropertiesResponseResource();
_resultValue.colls = colls;
_resultValue.etag = etag;
_resultValue.id = id;
_resultValue.rid = rid;
_resultValue.ts = ts;
_resultValue.users = users;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy