com.pulumi.aws.lakeformation.outputs.GetPermissionsDataLocation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
The newest version!
// *** 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.lakeformation.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetPermissionsDataLocation {
/**
* @return ARN that uniquely identifies the data location resource.
*
* The following argument is optional:
*
*/
private String arn;
/**
* @return Identifier for the Data Catalog where the location is registered with Lake Formation. By default, it is the account ID of the caller.
*
*/
private String catalogId;
private GetPermissionsDataLocation() {}
/**
* @return ARN that uniquely identifies the data location resource.
*
* The following argument is optional:
*
*/
public String arn() {
return this.arn;
}
/**
* @return Identifier for the Data Catalog where the location is registered with Lake Formation. By default, it is the account ID of the caller.
*
*/
public String catalogId() {
return this.catalogId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetPermissionsDataLocation defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String arn;
private String catalogId;
public Builder() {}
public Builder(GetPermissionsDataLocation defaults) {
Objects.requireNonNull(defaults);
this.arn = defaults.arn;
this.catalogId = defaults.catalogId;
}
@CustomType.Setter
public Builder arn(String arn) {
if (arn == null) {
throw new MissingRequiredPropertyException("GetPermissionsDataLocation", "arn");
}
this.arn = arn;
return this;
}
@CustomType.Setter
public Builder catalogId(String catalogId) {
if (catalogId == null) {
throw new MissingRequiredPropertyException("GetPermissionsDataLocation", "catalogId");
}
this.catalogId = catalogId;
return this;
}
public GetPermissionsDataLocation build() {
final var _resultValue = new GetPermissionsDataLocation();
_resultValue.arn = arn;
_resultValue.catalogId = catalogId;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy