com.pulumi.aws.quicksight.outputs.GetQuicksightAnalysisPermission 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;
@CustomType
public final class GetQuicksightAnalysisPermission {
private List actions;
private String principal;
private GetQuicksightAnalysisPermission() {}
public List actions() {
return this.actions;
}
public String principal() {
return this.principal;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetQuicksightAnalysisPermission defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private List actions;
private String principal;
public Builder() {}
public Builder(GetQuicksightAnalysisPermission defaults) {
Objects.requireNonNull(defaults);
this.actions = defaults.actions;
this.principal = defaults.principal;
}
@CustomType.Setter
public Builder actions(List actions) {
if (actions == null) {
throw new MissingRequiredPropertyException("GetQuicksightAnalysisPermission", "actions");
}
this.actions = actions;
return this;
}
public Builder actions(String... actions) {
return actions(List.of(actions));
}
@CustomType.Setter
public Builder principal(String principal) {
if (principal == null) {
throw new MissingRequiredPropertyException("GetQuicksightAnalysisPermission", "principal");
}
this.principal = principal;
return this;
}
public GetQuicksightAnalysisPermission build() {
final var _resultValue = new GetQuicksightAnalysisPermission();
_resultValue.actions = actions;
_resultValue.principal = principal;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy