com.pulumi.aws.glue.outputs.GetCatalogTableTargetTable 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.aws.glue.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetCatalogTableTargetTable {
/**
* @return ID of the Glue Catalog and database where the table metadata resides. If omitted, this defaults to the current AWS Account ID.
*
*/
private String catalogId;
/**
* @return Name of the metadata database where the table metadata resides.
*
*/
private String databaseName;
/**
* @return Name of the table.
*
*/
private String name;
/**
* @return Region of the target table.
*
*/
private String region;
private GetCatalogTableTargetTable() {}
/**
* @return ID of the Glue Catalog and database where the table metadata resides. If omitted, this defaults to the current AWS Account ID.
*
*/
public String catalogId() {
return this.catalogId;
}
/**
* @return Name of the metadata database where the table metadata resides.
*
*/
public String databaseName() {
return this.databaseName;
}
/**
* @return Name of the table.
*
*/
public String name() {
return this.name;
}
/**
* @return Region of the target table.
*
*/
public String region() {
return this.region;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetCatalogTableTargetTable defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String catalogId;
private String databaseName;
private String name;
private String region;
public Builder() {}
public Builder(GetCatalogTableTargetTable defaults) {
Objects.requireNonNull(defaults);
this.catalogId = defaults.catalogId;
this.databaseName = defaults.databaseName;
this.name = defaults.name;
this.region = defaults.region;
}
@CustomType.Setter
public Builder catalogId(String catalogId) {
if (catalogId == null) {
throw new MissingRequiredPropertyException("GetCatalogTableTargetTable", "catalogId");
}
this.catalogId = catalogId;
return this;
}
@CustomType.Setter
public Builder databaseName(String databaseName) {
if (databaseName == null) {
throw new MissingRequiredPropertyException("GetCatalogTableTargetTable", "databaseName");
}
this.databaseName = databaseName;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetCatalogTableTargetTable", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder region(String region) {
if (region == null) {
throw new MissingRequiredPropertyException("GetCatalogTableTargetTable", "region");
}
this.region = region;
return this;
}
public GetCatalogTableTargetTable build() {
final var _resultValue = new GetCatalogTableTargetTable();
_resultValue.catalogId = catalogId;
_resultValue.databaseName = databaseName;
_resultValue.name = name;
_resultValue.region = region;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy