
com.pulumi.azurenative.synapse.outputs.FollowerDatabaseDefinitionResponse 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.synapse.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class FollowerDatabaseDefinitionResponse {
/**
* @return Resource name of the attached database configuration in the follower cluster.
*
*/
private String attachedDatabaseConfigurationName;
/**
* @return The database name owned by this cluster that was followed. * in case following all databases.
*
*/
private String databaseName;
/**
* @return Resource id of the cluster that follows a database owned by this cluster.
*
*/
private String kustoPoolResourceId;
private FollowerDatabaseDefinitionResponse() {}
/**
* @return Resource name of the attached database configuration in the follower cluster.
*
*/
public String attachedDatabaseConfigurationName() {
return this.attachedDatabaseConfigurationName;
}
/**
* @return The database name owned by this cluster that was followed. * in case following all databases.
*
*/
public String databaseName() {
return this.databaseName;
}
/**
* @return Resource id of the cluster that follows a database owned by this cluster.
*
*/
public String kustoPoolResourceId() {
return this.kustoPoolResourceId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(FollowerDatabaseDefinitionResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String attachedDatabaseConfigurationName;
private String databaseName;
private String kustoPoolResourceId;
public Builder() {}
public Builder(FollowerDatabaseDefinitionResponse defaults) {
Objects.requireNonNull(defaults);
this.attachedDatabaseConfigurationName = defaults.attachedDatabaseConfigurationName;
this.databaseName = defaults.databaseName;
this.kustoPoolResourceId = defaults.kustoPoolResourceId;
}
@CustomType.Setter
public Builder attachedDatabaseConfigurationName(String attachedDatabaseConfigurationName) {
if (attachedDatabaseConfigurationName == null) {
throw new MissingRequiredPropertyException("FollowerDatabaseDefinitionResponse", "attachedDatabaseConfigurationName");
}
this.attachedDatabaseConfigurationName = attachedDatabaseConfigurationName;
return this;
}
@CustomType.Setter
public Builder databaseName(String databaseName) {
if (databaseName == null) {
throw new MissingRequiredPropertyException("FollowerDatabaseDefinitionResponse", "databaseName");
}
this.databaseName = databaseName;
return this;
}
@CustomType.Setter
public Builder kustoPoolResourceId(String kustoPoolResourceId) {
if (kustoPoolResourceId == null) {
throw new MissingRequiredPropertyException("FollowerDatabaseDefinitionResponse", "kustoPoolResourceId");
}
this.kustoPoolResourceId = kustoPoolResourceId;
return this;
}
public FollowerDatabaseDefinitionResponse build() {
final var _resultValue = new FollowerDatabaseDefinitionResponse();
_resultValue.attachedDatabaseConfigurationName = attachedDatabaseConfigurationName;
_resultValue.databaseName = databaseName;
_resultValue.kustoPoolResourceId = kustoPoolResourceId;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy