com.pulumi.azurenative.documentdb.outputs.DatabaseAccountConnectionStringResponse 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.String;
import java.util.Objects;
@CustomType
public final class DatabaseAccountConnectionStringResponse {
/**
* @return Value of the connection string
*
*/
private String connectionString;
/**
* @return Description of the connection string
*
*/
private String description;
/**
* @return Kind of the connection string key
*
*/
private String keyKind;
/**
* @return Type of the connection string
*
*/
private String type;
private DatabaseAccountConnectionStringResponse() {}
/**
* @return Value of the connection string
*
*/
public String connectionString() {
return this.connectionString;
}
/**
* @return Description of the connection string
*
*/
public String description() {
return this.description;
}
/**
* @return Kind of the connection string key
*
*/
public String keyKind() {
return this.keyKind;
}
/**
* @return Type of the connection string
*
*/
public String type() {
return this.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(DatabaseAccountConnectionStringResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String connectionString;
private String description;
private String keyKind;
private String type;
public Builder() {}
public Builder(DatabaseAccountConnectionStringResponse defaults) {
Objects.requireNonNull(defaults);
this.connectionString = defaults.connectionString;
this.description = defaults.description;
this.keyKind = defaults.keyKind;
this.type = defaults.type;
}
@CustomType.Setter
public Builder connectionString(String connectionString) {
if (connectionString == null) {
throw new MissingRequiredPropertyException("DatabaseAccountConnectionStringResponse", "connectionString");
}
this.connectionString = connectionString;
return this;
}
@CustomType.Setter
public Builder description(String description) {
if (description == null) {
throw new MissingRequiredPropertyException("DatabaseAccountConnectionStringResponse", "description");
}
this.description = description;
return this;
}
@CustomType.Setter
public Builder keyKind(String keyKind) {
if (keyKind == null) {
throw new MissingRequiredPropertyException("DatabaseAccountConnectionStringResponse", "keyKind");
}
this.keyKind = keyKind;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("DatabaseAccountConnectionStringResponse", "type");
}
this.type = type;
return this;
}
public DatabaseAccountConnectionStringResponse build() {
final var _resultValue = new DatabaseAccountConnectionStringResponse();
_resultValue.connectionString = connectionString;
_resultValue.description = description;
_resultValue.keyKind = keyKind;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy