com.pulumi.aws.quicksight.outputs.AnalysisSourceEntitySourceTemplate 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.quicksight.outputs;
import com.pulumi.aws.quicksight.outputs.AnalysisSourceEntitySourceTemplateDataSetReference;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
@CustomType
public final class AnalysisSourceEntitySourceTemplate {
/**
* @return The Amazon Resource Name (ARN) of the resource.
*
*/
private String arn;
/**
* @return List of dataset references. See data_set_references.
*
*/
private List dataSetReferences;
private AnalysisSourceEntitySourceTemplate() {}
/**
* @return The Amazon Resource Name (ARN) of the resource.
*
*/
public String arn() {
return this.arn;
}
/**
* @return List of dataset references. See data_set_references.
*
*/
public List dataSetReferences() {
return this.dataSetReferences;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(AnalysisSourceEntitySourceTemplate defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String arn;
private List dataSetReferences;
public Builder() {}
public Builder(AnalysisSourceEntitySourceTemplate defaults) {
Objects.requireNonNull(defaults);
this.arn = defaults.arn;
this.dataSetReferences = defaults.dataSetReferences;
}
@CustomType.Setter
public Builder arn(String arn) {
if (arn == null) {
throw new MissingRequiredPropertyException("AnalysisSourceEntitySourceTemplate", "arn");
}
this.arn = arn;
return this;
}
@CustomType.Setter
public Builder dataSetReferences(List dataSetReferences) {
if (dataSetReferences == null) {
throw new MissingRequiredPropertyException("AnalysisSourceEntitySourceTemplate", "dataSetReferences");
}
this.dataSetReferences = dataSetReferences;
return this;
}
public Builder dataSetReferences(AnalysisSourceEntitySourceTemplateDataSetReference... dataSetReferences) {
return dataSetReferences(List.of(dataSetReferences));
}
public AnalysisSourceEntitySourceTemplate build() {
final var _resultValue = new AnalysisSourceEntitySourceTemplate();
_resultValue.arn = arn;
_resultValue.dataSetReferences = dataSetReferences;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy