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

com.pulumi.azurenative.community.outputs.GetCommunityTrainingResult 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.azurenative.community.outputs;

import com.pulumi.azurenative.community.outputs.IdentityConfigurationPropertiesResponse;
import com.pulumi.azurenative.community.outputs.SkuResponse;
import com.pulumi.azurenative.community.outputs.SystemDataResponse;
import com.pulumi.core.annotations.CustomType;
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;

@CustomType
public final class GetCommunityTrainingResult {
    /**
     * @return To indicate whether the Community Training instance has Disaster Recovery enabled
     * 
     */
    private Boolean disasterRecoveryEnabled;
    /**
     * @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
     * 
     */
    private String id;
    /**
     * @return The identity configuration of the Community Training resource
     * 
     */
    private IdentityConfigurationPropertiesResponse identityConfiguration;
    /**
     * @return The geo-location where the resource lives
     * 
     */
    private String location;
    /**
     * @return The name of the resource
     * 
     */
    private String name;
    /**
     * @return The email address of the portal admin
     * 
     */
    private String portalAdminEmailAddress;
    /**
     * @return The portal name (website name) of the Community Training instance
     * 
     */
    private String portalName;
    /**
     * @return The email address of the portal owner. Will be used as the primary contact
     * 
     */
    private String portalOwnerEmailAddress;
    /**
     * @return The organization name of the portal owner
     * 
     */
    private String portalOwnerOrganizationName;
    /**
     * @return The status of the last operation.
     * 
     */
    private String provisioningState;
    /**
     * @return The SKU (Stock Keeping Unit) assigned to this resource.
     * 
     */
    private @Nullable SkuResponse sku;
    /**
     * @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
     * 
     */
    private SystemDataResponse systemData;
    /**
     * @return Resource tags.
     * 
     */
    private @Nullable Map tags;
    /**
     * @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
     * 
     */
    private String type;
    /**
     * @return To indicate whether the Community Training instance has Zone Redundancy enabled
     * 
     */
    private Boolean zoneRedundancyEnabled;

    private GetCommunityTrainingResult() {}
    /**
     * @return To indicate whether the Community Training instance has Disaster Recovery enabled
     * 
     */
    public Boolean disasterRecoveryEnabled() {
        return this.disasterRecoveryEnabled;
    }
    /**
     * @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return The identity configuration of the Community Training resource
     * 
     */
    public IdentityConfigurationPropertiesResponse identityConfiguration() {
        return this.identityConfiguration;
    }
    /**
     * @return The geo-location where the resource lives
     * 
     */
    public String location() {
        return this.location;
    }
    /**
     * @return The name of the resource
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return The email address of the portal admin
     * 
     */
    public String portalAdminEmailAddress() {
        return this.portalAdminEmailAddress;
    }
    /**
     * @return The portal name (website name) of the Community Training instance
     * 
     */
    public String portalName() {
        return this.portalName;
    }
    /**
     * @return The email address of the portal owner. Will be used as the primary contact
     * 
     */
    public String portalOwnerEmailAddress() {
        return this.portalOwnerEmailAddress;
    }
    /**
     * @return The organization name of the portal owner
     * 
     */
    public String portalOwnerOrganizationName() {
        return this.portalOwnerOrganizationName;
    }
    /**
     * @return The status of the last operation.
     * 
     */
    public String provisioningState() {
        return this.provisioningState;
    }
    /**
     * @return The SKU (Stock Keeping Unit) assigned to this resource.
     * 
     */
    public Optional sku() {
        return Optional.ofNullable(this.sku);
    }
    /**
     * @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
     * 
     */
    public SystemDataResponse systemData() {
        return this.systemData;
    }
    /**
     * @return Resource tags.
     * 
     */
    public Map tags() {
        return this.tags == null ? Map.of() : this.tags;
    }
    /**
     * @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
     * 
     */
    public String type() {
        return this.type;
    }
    /**
     * @return To indicate whether the Community Training instance has Zone Redundancy enabled
     * 
     */
    public Boolean zoneRedundancyEnabled() {
        return this.zoneRedundancyEnabled;
    }

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

    public static Builder builder(GetCommunityTrainingResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private Boolean disasterRecoveryEnabled;
        private String id;
        private IdentityConfigurationPropertiesResponse identityConfiguration;
        private String location;
        private String name;
        private String portalAdminEmailAddress;
        private String portalName;
        private String portalOwnerEmailAddress;
        private String portalOwnerOrganizationName;
        private String provisioningState;
        private @Nullable SkuResponse sku;
        private SystemDataResponse systemData;
        private @Nullable Map tags;
        private String type;
        private Boolean zoneRedundancyEnabled;
        public Builder() {}
        public Builder(GetCommunityTrainingResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.disasterRecoveryEnabled = defaults.disasterRecoveryEnabled;
    	      this.id = defaults.id;
    	      this.identityConfiguration = defaults.identityConfiguration;
    	      this.location = defaults.location;
    	      this.name = defaults.name;
    	      this.portalAdminEmailAddress = defaults.portalAdminEmailAddress;
    	      this.portalName = defaults.portalName;
    	      this.portalOwnerEmailAddress = defaults.portalOwnerEmailAddress;
    	      this.portalOwnerOrganizationName = defaults.portalOwnerOrganizationName;
    	      this.provisioningState = defaults.provisioningState;
    	      this.sku = defaults.sku;
    	      this.systemData = defaults.systemData;
    	      this.tags = defaults.tags;
    	      this.type = defaults.type;
    	      this.zoneRedundancyEnabled = defaults.zoneRedundancyEnabled;
        }

        @CustomType.Setter
        public Builder disasterRecoveryEnabled(Boolean disasterRecoveryEnabled) {
            if (disasterRecoveryEnabled == null) {
              throw new MissingRequiredPropertyException("GetCommunityTrainingResult", "disasterRecoveryEnabled");
            }
            this.disasterRecoveryEnabled = disasterRecoveryEnabled;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetCommunityTrainingResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder identityConfiguration(IdentityConfigurationPropertiesResponse identityConfiguration) {
            if (identityConfiguration == null) {
              throw new MissingRequiredPropertyException("GetCommunityTrainingResult", "identityConfiguration");
            }
            this.identityConfiguration = identityConfiguration;
            return this;
        }
        @CustomType.Setter
        public Builder location(String location) {
            if (location == null) {
              throw new MissingRequiredPropertyException("GetCommunityTrainingResult", "location");
            }
            this.location = location;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetCommunityTrainingResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder portalAdminEmailAddress(String portalAdminEmailAddress) {
            if (portalAdminEmailAddress == null) {
              throw new MissingRequiredPropertyException("GetCommunityTrainingResult", "portalAdminEmailAddress");
            }
            this.portalAdminEmailAddress = portalAdminEmailAddress;
            return this;
        }
        @CustomType.Setter
        public Builder portalName(String portalName) {
            if (portalName == null) {
              throw new MissingRequiredPropertyException("GetCommunityTrainingResult", "portalName");
            }
            this.portalName = portalName;
            return this;
        }
        @CustomType.Setter
        public Builder portalOwnerEmailAddress(String portalOwnerEmailAddress) {
            if (portalOwnerEmailAddress == null) {
              throw new MissingRequiredPropertyException("GetCommunityTrainingResult", "portalOwnerEmailAddress");
            }
            this.portalOwnerEmailAddress = portalOwnerEmailAddress;
            return this;
        }
        @CustomType.Setter
        public Builder portalOwnerOrganizationName(String portalOwnerOrganizationName) {
            if (portalOwnerOrganizationName == null) {
              throw new MissingRequiredPropertyException("GetCommunityTrainingResult", "portalOwnerOrganizationName");
            }
            this.portalOwnerOrganizationName = portalOwnerOrganizationName;
            return this;
        }
        @CustomType.Setter
        public Builder provisioningState(String provisioningState) {
            if (provisioningState == null) {
              throw new MissingRequiredPropertyException("GetCommunityTrainingResult", "provisioningState");
            }
            this.provisioningState = provisioningState;
            return this;
        }
        @CustomType.Setter
        public Builder sku(@Nullable SkuResponse sku) {

            this.sku = sku;
            return this;
        }
        @CustomType.Setter
        public Builder systemData(SystemDataResponse systemData) {
            if (systemData == null) {
              throw new MissingRequiredPropertyException("GetCommunityTrainingResult", "systemData");
            }
            this.systemData = systemData;
            return this;
        }
        @CustomType.Setter
        public Builder tags(@Nullable Map tags) {

            this.tags = tags;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("GetCommunityTrainingResult", "type");
            }
            this.type = type;
            return this;
        }
        @CustomType.Setter
        public Builder zoneRedundancyEnabled(Boolean zoneRedundancyEnabled) {
            if (zoneRedundancyEnabled == null) {
              throw new MissingRequiredPropertyException("GetCommunityTrainingResult", "zoneRedundancyEnabled");
            }
            this.zoneRedundancyEnabled = zoneRedundancyEnabled;
            return this;
        }
        public GetCommunityTrainingResult build() {
            final var _resultValue = new GetCommunityTrainingResult();
            _resultValue.disasterRecoveryEnabled = disasterRecoveryEnabled;
            _resultValue.id = id;
            _resultValue.identityConfiguration = identityConfiguration;
            _resultValue.location = location;
            _resultValue.name = name;
            _resultValue.portalAdminEmailAddress = portalAdminEmailAddress;
            _resultValue.portalName = portalName;
            _resultValue.portalOwnerEmailAddress = portalOwnerEmailAddress;
            _resultValue.portalOwnerOrganizationName = portalOwnerOrganizationName;
            _resultValue.provisioningState = provisioningState;
            _resultValue.sku = sku;
            _resultValue.systemData = systemData;
            _resultValue.tags = tags;
            _resultValue.type = type;
            _resultValue.zoneRedundancyEnabled = zoneRedundancyEnabled;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy