com.pulumi.aws.quicksight.outputs.DataSetFieldFolder 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.quicksight.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class DataSetFieldFolder {
/**
* @return An array of column names to add to the folder. A column can only be in one folder.
*
*/
private @Nullable List columns;
/**
* @return Field folder description.
*
*/
private @Nullable String description;
/**
* @return Key of the field folder map.
*
*/
private String fieldFoldersId;
private DataSetFieldFolder() {}
/**
* @return An array of column names to add to the folder. A column can only be in one folder.
*
*/
public List columns() {
return this.columns == null ? List.of() : this.columns;
}
/**
* @return Field folder description.
*
*/
public Optional description() {
return Optional.ofNullable(this.description);
}
/**
* @return Key of the field folder map.
*
*/
public String fieldFoldersId() {
return this.fieldFoldersId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(DataSetFieldFolder defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable List columns;
private @Nullable String description;
private String fieldFoldersId;
public Builder() {}
public Builder(DataSetFieldFolder defaults) {
Objects.requireNonNull(defaults);
this.columns = defaults.columns;
this.description = defaults.description;
this.fieldFoldersId = defaults.fieldFoldersId;
}
@CustomType.Setter
public Builder columns(@Nullable List columns) {
this.columns = columns;
return this;
}
public Builder columns(String... columns) {
return columns(List.of(columns));
}
@CustomType.Setter
public Builder description(@Nullable String description) {
this.description = description;
return this;
}
@CustomType.Setter
public Builder fieldFoldersId(String fieldFoldersId) {
if (fieldFoldersId == null) {
throw new MissingRequiredPropertyException("DataSetFieldFolder", "fieldFoldersId");
}
this.fieldFoldersId = fieldFoldersId;
return this;
}
public DataSetFieldFolder build() {
final var _resultValue = new DataSetFieldFolder();
_resultValue.columns = columns;
_resultValue.description = description;
_resultValue.fieldFoldersId = fieldFoldersId;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy