com.pulumi.aws.lakeformation.inputs.GetResourceArgs 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.
// *** 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.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class GetResourceArgs extends com.pulumi.resources.InvokeArgs {
public static final GetResourceArgs Empty = new GetResourceArgs();
/**
* ARN of the resource, an S3 path.
*
*/
@Import(name="arn", required=true)
private Output arn;
/**
* @return ARN of the resource, an S3 path.
*
*/
public Output arn() {
return this.arn;
}
private GetResourceArgs() {}
private GetResourceArgs(GetResourceArgs $) {
this.arn = $.arn;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetResourceArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetResourceArgs $;
public Builder() {
$ = new GetResourceArgs();
}
public Builder(GetResourceArgs defaults) {
$ = new GetResourceArgs(Objects.requireNonNull(defaults));
}
/**
* @param arn ARN of the resource, an S3 path.
*
* @return builder
*
*/
public Builder arn(Output arn) {
$.arn = arn;
return this;
}
/**
* @param arn ARN of the resource, an S3 path.
*
* @return builder
*
*/
public Builder arn(String arn) {
return arn(Output.of(arn));
}
public GetResourceArgs build() {
if ($.arn == null) {
throw new MissingRequiredPropertyException("GetResourceArgs", "arn");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy