All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.rolesanywhere.outputs.TrustAnchorNotificationSetting 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.rolesanywhere.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class TrustAnchorNotificationSetting {
    private @Nullable String channel;
    private @Nullable String configuredBy;
    /**
     * @return Whether or not the Trust Anchor should be enabled.
     * 
     */
    private @Nullable Boolean enabled;
    private @Nullable String event;
    private @Nullable Integer threshold;

    private TrustAnchorNotificationSetting() {}
    public Optional channel() {
        return Optional.ofNullable(this.channel);
    }
    public Optional configuredBy() {
        return Optional.ofNullable(this.configuredBy);
    }
    /**
     * @return Whether or not the Trust Anchor should be enabled.
     * 
     */
    public Optional enabled() {
        return Optional.ofNullable(this.enabled);
    }
    public Optional event() {
        return Optional.ofNullable(this.event);
    }
    public Optional threshold() {
        return Optional.ofNullable(this.threshold);
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(TrustAnchorNotificationSetting defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String channel;
        private @Nullable String configuredBy;
        private @Nullable Boolean enabled;
        private @Nullable String event;
        private @Nullable Integer threshold;
        public Builder() {}
        public Builder(TrustAnchorNotificationSetting defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.channel = defaults.channel;
    	      this.configuredBy = defaults.configuredBy;
    	      this.enabled = defaults.enabled;
    	      this.event = defaults.event;
    	      this.threshold = defaults.threshold;
        }

        @CustomType.Setter
        public Builder channel(@Nullable String channel) {

            this.channel = channel;
            return this;
        }
        @CustomType.Setter
        public Builder configuredBy(@Nullable String configuredBy) {

            this.configuredBy = configuredBy;
            return this;
        }
        @CustomType.Setter
        public Builder enabled(@Nullable Boolean enabled) {

            this.enabled = enabled;
            return this;
        }
        @CustomType.Setter
        public Builder event(@Nullable String event) {

            this.event = event;
            return this;
        }
        @CustomType.Setter
        public Builder threshold(@Nullable Integer threshold) {

            this.threshold = threshold;
            return this;
        }
        public TrustAnchorNotificationSetting build() {
            final var _resultValue = new TrustAnchorNotificationSetting();
            _resultValue.channel = channel;
            _resultValue.configuredBy = configuredBy;
            _resultValue.enabled = enabled;
            _resultValue.event = event;
            _resultValue.threshold = threshold;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy