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

com.pulumi.cloudflare.AccessOrganizationArgs 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.cloudflare;

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


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

    public static final AccessOrganizationArgs Empty = new AccessOrganizationArgs();

    /**
     * The account identifier to target for the resource. Conflicts with `zone_id`.
     * 
     */
    @Import(name="accountId")
    private @Nullable Output accountId;

    /**
     * @return The account identifier to target for the resource. Conflicts with `zone_id`.
     * 
     */
    public Optional> accountId() {
        return Optional.ofNullable(this.accountId);
    }

    /**
     * The unique subdomain assigned to your Zero Trust organization.
     * 
     */
    @Import(name="authDomain", required=true)
    private Output authDomain;

    /**
     * @return The unique subdomain assigned to your Zero Trust organization.
     * 
     */
    public Output authDomain() {
        return this.authDomain;
    }

    /**
     * When set to true, this will disable all editing of Access resources via the Zero Trust Dashboard.
     * 
     */
    @Import(name="isUiReadOnly")
    private @Nullable Output isUiReadOnly;

    /**
     * @return When set to true, this will disable all editing of Access resources via the Zero Trust Dashboard.
     * 
     */
    public Optional> isUiReadOnly() {
        return Optional.ofNullable(this.isUiReadOnly);
    }

    @Import(name="loginDesigns")
    private @Nullable Output> loginDesigns;

    public Optional>> loginDesigns() {
        return Optional.ofNullable(this.loginDesigns);
    }

    /**
     * The name of your Zero Trust organization.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return The name of your Zero Trust organization.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * The amount of time a user seat is inactive before it expires. When the user seat exceeds the set time of inactivity, the user is removed as an active seat and no longer counts against your Teams seat count. Must be in the format `300ms` or `2h45m`.
     * 
     */
    @Import(name="userSeatExpirationInactiveTime")
    private @Nullable Output userSeatExpirationInactiveTime;

    /**
     * @return The amount of time a user seat is inactive before it expires. When the user seat exceeds the set time of inactivity, the user is removed as an active seat and no longer counts against your Teams seat count. Must be in the format `300ms` or `2h45m`.
     * 
     */
    public Optional> userSeatExpirationInactiveTime() {
        return Optional.ofNullable(this.userSeatExpirationInactiveTime);
    }

    /**
     * The zone identifier to target for the resource. Conflicts with `account_id`.
     * 
     */
    @Import(name="zoneId")
    private @Nullable Output zoneId;

    /**
     * @return The zone identifier to target for the resource. Conflicts with `account_id`.
     * 
     */
    public Optional> zoneId() {
        return Optional.ofNullable(this.zoneId);
    }

    private AccessOrganizationArgs() {}

    private AccessOrganizationArgs(AccessOrganizationArgs $) {
        this.accountId = $.accountId;
        this.authDomain = $.authDomain;
        this.isUiReadOnly = $.isUiReadOnly;
        this.loginDesigns = $.loginDesigns;
        this.name = $.name;
        this.userSeatExpirationInactiveTime = $.userSeatExpirationInactiveTime;
        this.zoneId = $.zoneId;
    }

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

    public static final class Builder {
        private AccessOrganizationArgs $;

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

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

        /**
         * @param accountId The account identifier to target for the resource. Conflicts with `zone_id`.
         * 
         * @return builder
         * 
         */
        public Builder accountId(@Nullable Output accountId) {
            $.accountId = accountId;
            return this;
        }

        /**
         * @param accountId The account identifier to target for the resource. Conflicts with `zone_id`.
         * 
         * @return builder
         * 
         */
        public Builder accountId(String accountId) {
            return accountId(Output.of(accountId));
        }

        /**
         * @param authDomain The unique subdomain assigned to your Zero Trust organization.
         * 
         * @return builder
         * 
         */
        public Builder authDomain(Output authDomain) {
            $.authDomain = authDomain;
            return this;
        }

        /**
         * @param authDomain The unique subdomain assigned to your Zero Trust organization.
         * 
         * @return builder
         * 
         */
        public Builder authDomain(String authDomain) {
            return authDomain(Output.of(authDomain));
        }

        /**
         * @param isUiReadOnly When set to true, this will disable all editing of Access resources via the Zero Trust Dashboard.
         * 
         * @return builder
         * 
         */
        public Builder isUiReadOnly(@Nullable Output isUiReadOnly) {
            $.isUiReadOnly = isUiReadOnly;
            return this;
        }

        /**
         * @param isUiReadOnly When set to true, this will disable all editing of Access resources via the Zero Trust Dashboard.
         * 
         * @return builder
         * 
         */
        public Builder isUiReadOnly(Boolean isUiReadOnly) {
            return isUiReadOnly(Output.of(isUiReadOnly));
        }

        public Builder loginDesigns(@Nullable Output> loginDesigns) {
            $.loginDesigns = loginDesigns;
            return this;
        }

        public Builder loginDesigns(List loginDesigns) {
            return loginDesigns(Output.of(loginDesigns));
        }

        public Builder loginDesigns(AccessOrganizationLoginDesignArgs... loginDesigns) {
            return loginDesigns(List.of(loginDesigns));
        }

        /**
         * @param name The name of your Zero Trust organization.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The name of your Zero Trust organization.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param userSeatExpirationInactiveTime The amount of time a user seat is inactive before it expires. When the user seat exceeds the set time of inactivity, the user is removed as an active seat and no longer counts against your Teams seat count. Must be in the format `300ms` or `2h45m`.
         * 
         * @return builder
         * 
         */
        public Builder userSeatExpirationInactiveTime(@Nullable Output userSeatExpirationInactiveTime) {
            $.userSeatExpirationInactiveTime = userSeatExpirationInactiveTime;
            return this;
        }

        /**
         * @param userSeatExpirationInactiveTime The amount of time a user seat is inactive before it expires. When the user seat exceeds the set time of inactivity, the user is removed as an active seat and no longer counts against your Teams seat count. Must be in the format `300ms` or `2h45m`.
         * 
         * @return builder
         * 
         */
        public Builder userSeatExpirationInactiveTime(String userSeatExpirationInactiveTime) {
            return userSeatExpirationInactiveTime(Output.of(userSeatExpirationInactiveTime));
        }

        /**
         * @param zoneId The zone identifier to target for the resource. Conflicts with `account_id`.
         * 
         * @return builder
         * 
         */
        public Builder zoneId(@Nullable Output zoneId) {
            $.zoneId = zoneId;
            return this;
        }

        /**
         * @param zoneId The zone identifier to target for the resource. Conflicts with `account_id`.
         * 
         * @return builder
         * 
         */
        public Builder zoneId(String zoneId) {
            return zoneId(Output.of(zoneId));
        }

        public AccessOrganizationArgs build() {
            $.authDomain = Objects.requireNonNull($.authDomain, "expected parameter 'authDomain' to be non-null");
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy