com.pulumi.aws.kendra.outputs.GetThesaurusSourceS3Path 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.kendra.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetThesaurusSourceS3Path {
/**
* @return Name of the S3 bucket that contains the file.
*
*/
private String bucket;
/**
* @return Name of the file.
*
*/
private String key;
private GetThesaurusSourceS3Path() {}
/**
* @return Name of the S3 bucket that contains the file.
*
*/
public String bucket() {
return this.bucket;
}
/**
* @return Name of the file.
*
*/
public String key() {
return this.key;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetThesaurusSourceS3Path defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String bucket;
private String key;
public Builder() {}
public Builder(GetThesaurusSourceS3Path defaults) {
Objects.requireNonNull(defaults);
this.bucket = defaults.bucket;
this.key = defaults.key;
}
@CustomType.Setter
public Builder bucket(String bucket) {
if (bucket == null) {
throw new MissingRequiredPropertyException("GetThesaurusSourceS3Path", "bucket");
}
this.bucket = bucket;
return this;
}
@CustomType.Setter
public Builder key(String key) {
if (key == null) {
throw new MissingRequiredPropertyException("GetThesaurusSourceS3Path", "key");
}
this.key = key;
return this;
}
public GetThesaurusSourceS3Path build() {
final var _resultValue = new GetThesaurusSourceS3Path();
_resultValue.bucket = bucket;
_resultValue.key = key;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy