com.pulumi.aws.appstream.outputs.StackUserSetting 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.appstream.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class StackUserSetting {
/**
* @return Action that is enabled or disabled.
* Valid values are `CLIPBOARD_COPY_FROM_LOCAL_DEVICE`, `CLIPBOARD_COPY_TO_LOCAL_DEVICE`, `FILE_UPLOAD`, `FILE_DOWNLOAD`, `PRINTING_TO_LOCAL_DEVICE`, `DOMAIN_PASSWORD_SIGNIN`, or `DOMAIN_SMART_CARD_SIGNIN`.
*
*/
private String action;
/**
* @return Whether the action is enabled or disabled.
* Valid values are `ENABLED` or `DISABLED`.
*
*/
private String permission;
private StackUserSetting() {}
/**
* @return Action that is enabled or disabled.
* Valid values are `CLIPBOARD_COPY_FROM_LOCAL_DEVICE`, `CLIPBOARD_COPY_TO_LOCAL_DEVICE`, `FILE_UPLOAD`, `FILE_DOWNLOAD`, `PRINTING_TO_LOCAL_DEVICE`, `DOMAIN_PASSWORD_SIGNIN`, or `DOMAIN_SMART_CARD_SIGNIN`.
*
*/
public String action() {
return this.action;
}
/**
* @return Whether the action is enabled or disabled.
* Valid values are `ENABLED` or `DISABLED`.
*
*/
public String permission() {
return this.permission;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(StackUserSetting defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String action;
private String permission;
public Builder() {}
public Builder(StackUserSetting defaults) {
Objects.requireNonNull(defaults);
this.action = defaults.action;
this.permission = defaults.permission;
}
@CustomType.Setter
public Builder action(String action) {
if (action == null) {
throw new MissingRequiredPropertyException("StackUserSetting", "action");
}
this.action = action;
return this;
}
@CustomType.Setter
public Builder permission(String permission) {
if (permission == null) {
throw new MissingRequiredPropertyException("StackUserSetting", "permission");
}
this.permission = permission;
return this;
}
public StackUserSetting build() {
final var _resultValue = new StackUserSetting();
_resultValue.action = action;
_resultValue.permission = permission;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy