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

com.pulumi.okta.inputs.GetAuthServerClaimArgs 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 com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class GetAuthServerClaimArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetAuthServerClaimArgs Empty = new GetAuthServerClaimArgs();

    /**
     * Auth server ID
     * 
     */
    @Import(name="authServerId", required=true)
    private Output authServerId;

    /**
     * @return Auth server ID
     * 
     */
    public Output authServerId() {
        return this.authServerId;
    }

    /**
     * Name of the claim. Conflicts with `name`.
     * 
     */
    @Import(name="id")
    private @Nullable Output id;

    /**
     * @return Name of the claim. Conflicts with `name`.
     * 
     */
    public Optional> id() {
        return Optional.ofNullable(this.id);
    }

    /**
     * Name of the claim. Conflicts with `id`.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return Name of the claim. Conflicts with `id`.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    private GetAuthServerClaimArgs() {}

    private GetAuthServerClaimArgs(GetAuthServerClaimArgs $) {
        this.authServerId = $.authServerId;
        this.id = $.id;
        this.name = $.name;
    }

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

    public static final class Builder {
        private GetAuthServerClaimArgs $;

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

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

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

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

        /**
         * @param id Name of the claim. Conflicts with `name`.
         * 
         * @return builder
         * 
         */
        public Builder id(@Nullable Output id) {
            $.id = id;
            return this;
        }

        /**
         * @param id Name of the claim. Conflicts with `name`.
         * 
         * @return builder
         * 
         */
        public Builder id(String id) {
            return id(Output.of(id));
        }

        /**
         * @param name Name of the claim. Conflicts with `id`.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Name of the claim. Conflicts with `id`.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        public GetAuthServerClaimArgs build() {
            if ($.authServerId == null) {
                throw new MissingRequiredPropertyException("GetAuthServerClaimArgs", "authServerId");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy