
com.pulumi.azurenative.datamigration.outputs.DatabaseTableResponse Maven / Gradle / Ivy
// *** 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.datamigration.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class DatabaseTableResponse {
/**
* @return Indicates whether table is empty or not
*
*/
private Boolean hasRows;
/**
* @return Schema-qualified name of the table
*
*/
private String name;
private DatabaseTableResponse() {}
/**
* @return Indicates whether table is empty or not
*
*/
public Boolean hasRows() {
return this.hasRows;
}
/**
* @return Schema-qualified name of the table
*
*/
public String name() {
return this.name;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(DatabaseTableResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private Boolean hasRows;
private String name;
public Builder() {}
public Builder(DatabaseTableResponse defaults) {
Objects.requireNonNull(defaults);
this.hasRows = defaults.hasRows;
this.name = defaults.name;
}
@CustomType.Setter
public Builder hasRows(Boolean hasRows) {
if (hasRows == null) {
throw new MissingRequiredPropertyException("DatabaseTableResponse", "hasRows");
}
this.hasRows = hasRows;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("DatabaseTableResponse", "name");
}
this.name = name;
return this;
}
public DatabaseTableResponse build() {
final var _resultValue = new DatabaseTableResponse();
_resultValue.hasRows = hasRows;
_resultValue.name = name;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy