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

com.pulumi.okta.inputs.TrustedServerState Maven / Gradle / Ivy

There is a newer version: 4.13.0-alpha.1732774005
Show newest version
// *** 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.okta.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class TrustedServerState extends com.pulumi.resources.ResourceArgs {

    public static final TrustedServerState Empty = new TrustedServerState();

    /**
     * Authorization server ID
     * 
     */
    @Import(name="authServerId")
    private @Nullable Output authServerId;

    /**
     * @return Authorization server ID
     * 
     */
    public Optional> authServerId() {
        return Optional.ofNullable(this.authServerId);
    }

    /**
     * A list of the authorization server IDs user want to trust
     * 
     */
    @Import(name="trusteds")
    private @Nullable Output> trusteds;

    /**
     * @return A list of the authorization server IDs user want to trust
     * 
     */
    public Optional>> trusteds() {
        return Optional.ofNullable(this.trusteds);
    }

    private TrustedServerState() {}

    private TrustedServerState(TrustedServerState $) {
        this.authServerId = $.authServerId;
        this.trusteds = $.trusteds;
    }

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

    public static final class Builder {
        private TrustedServerState $;

        public Builder() {
            $ = new TrustedServerState();
        }

        public Builder(TrustedServerState defaults) {
            $ = new TrustedServerState(Objects.requireNonNull(defaults));
        }

        /**
         * @param authServerId Authorization server ID
         * 
         * @return builder
         * 
         */
        public Builder authServerId(@Nullable Output authServerId) {
            $.authServerId = authServerId;
            return this;
        }

        /**
         * @param authServerId Authorization server ID
         * 
         * @return builder
         * 
         */
        public Builder authServerId(String authServerId) {
            return authServerId(Output.of(authServerId));
        }

        /**
         * @param trusteds A list of the authorization server IDs user want to trust
         * 
         * @return builder
         * 
         */
        public Builder trusteds(@Nullable Output> trusteds) {
            $.trusteds = trusteds;
            return this;
        }

        /**
         * @param trusteds A list of the authorization server IDs user want to trust
         * 
         * @return builder
         * 
         */
        public Builder trusteds(List trusteds) {
            return trusteds(Output.of(trusteds));
        }

        /**
         * @param trusteds A list of the authorization server IDs user want to trust
         * 
         * @return builder
         * 
         */
        public Builder trusteds(String... trusteds) {
            return trusteds(List.of(trusteds));
        }

        public TrustedServerState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy