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

com.pulumi.azurenative.community.CommunityTrainingArgs Maven / Gradle / Ivy

There is a newer version: 2.82.0
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.azurenative.community;

import com.pulumi.azurenative.community.inputs.IdentityConfigurationPropertiesArgs;
import com.pulumi.azurenative.community.inputs.SkuArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final CommunityTrainingArgs Empty = new CommunityTrainingArgs();

    /**
     * The name of the Community Training Resource
     * 
     */
    @Import(name="communityTrainingName")
    private @Nullable Output communityTrainingName;

    /**
     * @return The name of the Community Training Resource
     * 
     */
    public Optional> communityTrainingName() {
        return Optional.ofNullable(this.communityTrainingName);
    }

    /**
     * To indicate whether the Community Training instance has Disaster Recovery enabled
     * 
     */
    @Import(name="disasterRecoveryEnabled", required=true)
    private Output disasterRecoveryEnabled;

    /**
     * @return To indicate whether the Community Training instance has Disaster Recovery enabled
     * 
     */
    public Output disasterRecoveryEnabled() {
        return this.disasterRecoveryEnabled;
    }

    /**
     * The identity configuration of the Community Training resource
     * 
     */
    @Import(name="identityConfiguration", required=true)
    private Output identityConfiguration;

    /**
     * @return The identity configuration of the Community Training resource
     * 
     */
    public Output identityConfiguration() {
        return this.identityConfiguration;
    }

    /**
     * The geo-location where the resource lives
     * 
     */
    @Import(name="location")
    private @Nullable Output location;

    /**
     * @return The geo-location where the resource lives
     * 
     */
    public Optional> location() {
        return Optional.ofNullable(this.location);
    }

    /**
     * The email address of the portal admin
     * 
     */
    @Import(name="portalAdminEmailAddress", required=true)
    private Output portalAdminEmailAddress;

    /**
     * @return The email address of the portal admin
     * 
     */
    public Output portalAdminEmailAddress() {
        return this.portalAdminEmailAddress;
    }

    /**
     * The portal name (website name) of the Community Training instance
     * 
     */
    @Import(name="portalName", required=true)
    private Output portalName;

    /**
     * @return The portal name (website name) of the Community Training instance
     * 
     */
    public Output portalName() {
        return this.portalName;
    }

    /**
     * The email address of the portal owner. Will be used as the primary contact
     * 
     */
    @Import(name="portalOwnerEmailAddress", required=true)
    private Output portalOwnerEmailAddress;

    /**
     * @return The email address of the portal owner. Will be used as the primary contact
     * 
     */
    public Output portalOwnerEmailAddress() {
        return this.portalOwnerEmailAddress;
    }

    /**
     * The organization name of the portal owner
     * 
     */
    @Import(name="portalOwnerOrganizationName", required=true)
    private Output portalOwnerOrganizationName;

    /**
     * @return The organization name of the portal owner
     * 
     */
    public Output portalOwnerOrganizationName() {
        return this.portalOwnerOrganizationName;
    }

    /**
     * The name of the resource group. The name is case insensitive.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return The name of the resource group. The name is case insensitive.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * The SKU (Stock Keeping Unit) assigned to this resource.
     * 
     */
    @Import(name="sku")
    private @Nullable Output sku;

    /**
     * @return The SKU (Stock Keeping Unit) assigned to this resource.
     * 
     */
    public Optional> sku() {
        return Optional.ofNullable(this.sku);
    }

    /**
     * Resource tags.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return Resource tags.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    /**
     * To indicate whether the Community Training instance has Zone Redundancy enabled
     * 
     */
    @Import(name="zoneRedundancyEnabled", required=true)
    private Output zoneRedundancyEnabled;

    /**
     * @return To indicate whether the Community Training instance has Zone Redundancy enabled
     * 
     */
    public Output zoneRedundancyEnabled() {
        return this.zoneRedundancyEnabled;
    }

    private CommunityTrainingArgs() {}

    private CommunityTrainingArgs(CommunityTrainingArgs $) {
        this.communityTrainingName = $.communityTrainingName;
        this.disasterRecoveryEnabled = $.disasterRecoveryEnabled;
        this.identityConfiguration = $.identityConfiguration;
        this.location = $.location;
        this.portalAdminEmailAddress = $.portalAdminEmailAddress;
        this.portalName = $.portalName;
        this.portalOwnerEmailAddress = $.portalOwnerEmailAddress;
        this.portalOwnerOrganizationName = $.portalOwnerOrganizationName;
        this.resourceGroupName = $.resourceGroupName;
        this.sku = $.sku;
        this.tags = $.tags;
        this.zoneRedundancyEnabled = $.zoneRedundancyEnabled;
    }

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

    public static final class Builder {
        private CommunityTrainingArgs $;

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

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

        /**
         * @param communityTrainingName The name of the Community Training Resource
         * 
         * @return builder
         * 
         */
        public Builder communityTrainingName(@Nullable Output communityTrainingName) {
            $.communityTrainingName = communityTrainingName;
            return this;
        }

        /**
         * @param communityTrainingName The name of the Community Training Resource
         * 
         * @return builder
         * 
         */
        public Builder communityTrainingName(String communityTrainingName) {
            return communityTrainingName(Output.of(communityTrainingName));
        }

        /**
         * @param disasterRecoveryEnabled To indicate whether the Community Training instance has Disaster Recovery enabled
         * 
         * @return builder
         * 
         */
        public Builder disasterRecoveryEnabled(Output disasterRecoveryEnabled) {
            $.disasterRecoveryEnabled = disasterRecoveryEnabled;
            return this;
        }

        /**
         * @param disasterRecoveryEnabled To indicate whether the Community Training instance has Disaster Recovery enabled
         * 
         * @return builder
         * 
         */
        public Builder disasterRecoveryEnabled(Boolean disasterRecoveryEnabled) {
            return disasterRecoveryEnabled(Output.of(disasterRecoveryEnabled));
        }

        /**
         * @param identityConfiguration The identity configuration of the Community Training resource
         * 
         * @return builder
         * 
         */
        public Builder identityConfiguration(Output identityConfiguration) {
            $.identityConfiguration = identityConfiguration;
            return this;
        }

        /**
         * @param identityConfiguration The identity configuration of the Community Training resource
         * 
         * @return builder
         * 
         */
        public Builder identityConfiguration(IdentityConfigurationPropertiesArgs identityConfiguration) {
            return identityConfiguration(Output.of(identityConfiguration));
        }

        /**
         * @param location The geo-location where the resource lives
         * 
         * @return builder
         * 
         */
        public Builder location(@Nullable Output location) {
            $.location = location;
            return this;
        }

        /**
         * @param location The geo-location where the resource lives
         * 
         * @return builder
         * 
         */
        public Builder location(String location) {
            return location(Output.of(location));
        }

        /**
         * @param portalAdminEmailAddress The email address of the portal admin
         * 
         * @return builder
         * 
         */
        public Builder portalAdminEmailAddress(Output portalAdminEmailAddress) {
            $.portalAdminEmailAddress = portalAdminEmailAddress;
            return this;
        }

        /**
         * @param portalAdminEmailAddress The email address of the portal admin
         * 
         * @return builder
         * 
         */
        public Builder portalAdminEmailAddress(String portalAdminEmailAddress) {
            return portalAdminEmailAddress(Output.of(portalAdminEmailAddress));
        }

        /**
         * @param portalName The portal name (website name) of the Community Training instance
         * 
         * @return builder
         * 
         */
        public Builder portalName(Output portalName) {
            $.portalName = portalName;
            return this;
        }

        /**
         * @param portalName The portal name (website name) of the Community Training instance
         * 
         * @return builder
         * 
         */
        public Builder portalName(String portalName) {
            return portalName(Output.of(portalName));
        }

        /**
         * @param portalOwnerEmailAddress The email address of the portal owner. Will be used as the primary contact
         * 
         * @return builder
         * 
         */
        public Builder portalOwnerEmailAddress(Output portalOwnerEmailAddress) {
            $.portalOwnerEmailAddress = portalOwnerEmailAddress;
            return this;
        }

        /**
         * @param portalOwnerEmailAddress The email address of the portal owner. Will be used as the primary contact
         * 
         * @return builder
         * 
         */
        public Builder portalOwnerEmailAddress(String portalOwnerEmailAddress) {
            return portalOwnerEmailAddress(Output.of(portalOwnerEmailAddress));
        }

        /**
         * @param portalOwnerOrganizationName The organization name of the portal owner
         * 
         * @return builder
         * 
         */
        public Builder portalOwnerOrganizationName(Output portalOwnerOrganizationName) {
            $.portalOwnerOrganizationName = portalOwnerOrganizationName;
            return this;
        }

        /**
         * @param portalOwnerOrganizationName The organization name of the portal owner
         * 
         * @return builder
         * 
         */
        public Builder portalOwnerOrganizationName(String portalOwnerOrganizationName) {
            return portalOwnerOrganizationName(Output.of(portalOwnerOrganizationName));
        }

        /**
         * @param resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        /**
         * @param sku The SKU (Stock Keeping Unit) assigned to this resource.
         * 
         * @return builder
         * 
         */
        public Builder sku(@Nullable Output sku) {
            $.sku = sku;
            return this;
        }

        /**
         * @param sku The SKU (Stock Keeping Unit) assigned to this resource.
         * 
         * @return builder
         * 
         */
        public Builder sku(SkuArgs sku) {
            return sku(Output.of(sku));
        }

        /**
         * @param tags Resource tags.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags Resource tags.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        /**
         * @param zoneRedundancyEnabled To indicate whether the Community Training instance has Zone Redundancy enabled
         * 
         * @return builder
         * 
         */
        public Builder zoneRedundancyEnabled(Output zoneRedundancyEnabled) {
            $.zoneRedundancyEnabled = zoneRedundancyEnabled;
            return this;
        }

        /**
         * @param zoneRedundancyEnabled To indicate whether the Community Training instance has Zone Redundancy enabled
         * 
         * @return builder
         * 
         */
        public Builder zoneRedundancyEnabled(Boolean zoneRedundancyEnabled) {
            return zoneRedundancyEnabled(Output.of(zoneRedundancyEnabled));
        }

        public CommunityTrainingArgs build() {
            if ($.disasterRecoveryEnabled == null) {
                throw new MissingRequiredPropertyException("CommunityTrainingArgs", "disasterRecoveryEnabled");
            }
            if ($.identityConfiguration == null) {
                throw new MissingRequiredPropertyException("CommunityTrainingArgs", "identityConfiguration");
            }
            if ($.portalAdminEmailAddress == null) {
                throw new MissingRequiredPropertyException("CommunityTrainingArgs", "portalAdminEmailAddress");
            }
            if ($.portalName == null) {
                throw new MissingRequiredPropertyException("CommunityTrainingArgs", "portalName");
            }
            if ($.portalOwnerEmailAddress == null) {
                throw new MissingRequiredPropertyException("CommunityTrainingArgs", "portalOwnerEmailAddress");
            }
            if ($.portalOwnerOrganizationName == null) {
                throw new MissingRequiredPropertyException("CommunityTrainingArgs", "portalOwnerOrganizationName");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("CommunityTrainingArgs", "resourceGroupName");
            }
            if ($.zoneRedundancyEnabled == null) {
                throw new MissingRequiredPropertyException("CommunityTrainingArgs", "zoneRedundancyEnabled");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy