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

com.pulumi.azurenative.features.outputs.SubscriptionFeatureRegistrationResponseProperties 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.features.outputs;

import com.pulumi.azurenative.features.outputs.AuthorizationProfileResponse;
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 SubscriptionFeatureRegistrationResponseProperties {
    /**
     * @return The feature approval type.
     * 
     */
    private String approvalType;
    /**
     * @return Authorization Profile
     * 
     */
    private @Nullable AuthorizationProfileResponse authorizationProfile;
    /**
     * @return The feature description.
     * 
     */
    private @Nullable String description;
    /**
     * @return The featureDisplayName.
     * 
     */
    private String displayName;
    /**
     * @return The feature documentation link.
     * 
     */
    private String documentationLink;
    /**
     * @return The featureName.
     * 
     */
    private String featureName;
    /**
     * @return Key-value pairs for meta data.
     * 
     */
    private @Nullable Map metadata;
    /**
     * @return The providerNamespace.
     * 
     */
    private String providerNamespace;
    /**
     * @return The feature registration date.
     * 
     */
    private String registrationDate;
    /**
     * @return The feature release date.
     * 
     */
    private String releaseDate;
    /**
     * @return Indicates whether feature should be displayed in Portal.
     * 
     */
    private @Nullable Boolean shouldFeatureDisplayInPortal;
    /**
     * @return The state.
     * 
     */
    private @Nullable String state;
    /**
     * @return The subscriptionId.
     * 
     */
    private String subscriptionId;
    /**
     * @return The tenantId.
     * 
     */
    private String tenantId;

    private SubscriptionFeatureRegistrationResponseProperties() {}
    /**
     * @return The feature approval type.
     * 
     */
    public String approvalType() {
        return this.approvalType;
    }
    /**
     * @return Authorization Profile
     * 
     */
    public Optional authorizationProfile() {
        return Optional.ofNullable(this.authorizationProfile);
    }
    /**
     * @return The feature description.
     * 
     */
    public Optional description() {
        return Optional.ofNullable(this.description);
    }
    /**
     * @return The featureDisplayName.
     * 
     */
    public String displayName() {
        return this.displayName;
    }
    /**
     * @return The feature documentation link.
     * 
     */
    public String documentationLink() {
        return this.documentationLink;
    }
    /**
     * @return The featureName.
     * 
     */
    public String featureName() {
        return this.featureName;
    }
    /**
     * @return Key-value pairs for meta data.
     * 
     */
    public Map metadata() {
        return this.metadata == null ? Map.of() : this.metadata;
    }
    /**
     * @return The providerNamespace.
     * 
     */
    public String providerNamespace() {
        return this.providerNamespace;
    }
    /**
     * @return The feature registration date.
     * 
     */
    public String registrationDate() {
        return this.registrationDate;
    }
    /**
     * @return The feature release date.
     * 
     */
    public String releaseDate() {
        return this.releaseDate;
    }
    /**
     * @return Indicates whether feature should be displayed in Portal.
     * 
     */
    public Optional shouldFeatureDisplayInPortal() {
        return Optional.ofNullable(this.shouldFeatureDisplayInPortal);
    }
    /**
     * @return The state.
     * 
     */
    public Optional state() {
        return Optional.ofNullable(this.state);
    }
    /**
     * @return The subscriptionId.
     * 
     */
    public String subscriptionId() {
        return this.subscriptionId;
    }
    /**
     * @return The tenantId.
     * 
     */
    public String tenantId() {
        return this.tenantId;
    }

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

    public static Builder builder(SubscriptionFeatureRegistrationResponseProperties defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String approvalType;
        private @Nullable AuthorizationProfileResponse authorizationProfile;
        private @Nullable String description;
        private String displayName;
        private String documentationLink;
        private String featureName;
        private @Nullable Map metadata;
        private String providerNamespace;
        private String registrationDate;
        private String releaseDate;
        private @Nullable Boolean shouldFeatureDisplayInPortal;
        private @Nullable String state;
        private String subscriptionId;
        private String tenantId;
        public Builder() {}
        public Builder(SubscriptionFeatureRegistrationResponseProperties defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.approvalType = defaults.approvalType;
    	      this.authorizationProfile = defaults.authorizationProfile;
    	      this.description = defaults.description;
    	      this.displayName = defaults.displayName;
    	      this.documentationLink = defaults.documentationLink;
    	      this.featureName = defaults.featureName;
    	      this.metadata = defaults.metadata;
    	      this.providerNamespace = defaults.providerNamespace;
    	      this.registrationDate = defaults.registrationDate;
    	      this.releaseDate = defaults.releaseDate;
    	      this.shouldFeatureDisplayInPortal = defaults.shouldFeatureDisplayInPortal;
    	      this.state = defaults.state;
    	      this.subscriptionId = defaults.subscriptionId;
    	      this.tenantId = defaults.tenantId;
        }

        @CustomType.Setter
        public Builder approvalType(String approvalType) {
            if (approvalType == null) {
              throw new MissingRequiredPropertyException("SubscriptionFeatureRegistrationResponseProperties", "approvalType");
            }
            this.approvalType = approvalType;
            return this;
        }
        @CustomType.Setter
        public Builder authorizationProfile(@Nullable AuthorizationProfileResponse authorizationProfile) {

            this.authorizationProfile = authorizationProfile;
            return this;
        }
        @CustomType.Setter
        public Builder description(@Nullable String description) {

            this.description = description;
            return this;
        }
        @CustomType.Setter
        public Builder displayName(String displayName) {
            if (displayName == null) {
              throw new MissingRequiredPropertyException("SubscriptionFeatureRegistrationResponseProperties", "displayName");
            }
            this.displayName = displayName;
            return this;
        }
        @CustomType.Setter
        public Builder documentationLink(String documentationLink) {
            if (documentationLink == null) {
              throw new MissingRequiredPropertyException("SubscriptionFeatureRegistrationResponseProperties", "documentationLink");
            }
            this.documentationLink = documentationLink;
            return this;
        }
        @CustomType.Setter
        public Builder featureName(String featureName) {
            if (featureName == null) {
              throw new MissingRequiredPropertyException("SubscriptionFeatureRegistrationResponseProperties", "featureName");
            }
            this.featureName = featureName;
            return this;
        }
        @CustomType.Setter
        public Builder metadata(@Nullable Map metadata) {

            this.metadata = metadata;
            return this;
        }
        @CustomType.Setter
        public Builder providerNamespace(String providerNamespace) {
            if (providerNamespace == null) {
              throw new MissingRequiredPropertyException("SubscriptionFeatureRegistrationResponseProperties", "providerNamespace");
            }
            this.providerNamespace = providerNamespace;
            return this;
        }
        @CustomType.Setter
        public Builder registrationDate(String registrationDate) {
            if (registrationDate == null) {
              throw new MissingRequiredPropertyException("SubscriptionFeatureRegistrationResponseProperties", "registrationDate");
            }
            this.registrationDate = registrationDate;
            return this;
        }
        @CustomType.Setter
        public Builder releaseDate(String releaseDate) {
            if (releaseDate == null) {
              throw new MissingRequiredPropertyException("SubscriptionFeatureRegistrationResponseProperties", "releaseDate");
            }
            this.releaseDate = releaseDate;
            return this;
        }
        @CustomType.Setter
        public Builder shouldFeatureDisplayInPortal(@Nullable Boolean shouldFeatureDisplayInPortal) {

            this.shouldFeatureDisplayInPortal = shouldFeatureDisplayInPortal;
            return this;
        }
        @CustomType.Setter
        public Builder state(@Nullable String state) {

            this.state = state;
            return this;
        }
        @CustomType.Setter
        public Builder subscriptionId(String subscriptionId) {
            if (subscriptionId == null) {
              throw new MissingRequiredPropertyException("SubscriptionFeatureRegistrationResponseProperties", "subscriptionId");
            }
            this.subscriptionId = subscriptionId;
            return this;
        }
        @CustomType.Setter
        public Builder tenantId(String tenantId) {
            if (tenantId == null) {
              throw new MissingRequiredPropertyException("SubscriptionFeatureRegistrationResponseProperties", "tenantId");
            }
            this.tenantId = tenantId;
            return this;
        }
        public SubscriptionFeatureRegistrationResponseProperties build() {
            final var _resultValue = new SubscriptionFeatureRegistrationResponseProperties();
            _resultValue.approvalType = approvalType;
            _resultValue.authorizationProfile = authorizationProfile;
            _resultValue.description = description;
            _resultValue.displayName = displayName;
            _resultValue.documentationLink = documentationLink;
            _resultValue.featureName = featureName;
            _resultValue.metadata = metadata;
            _resultValue.providerNamespace = providerNamespace;
            _resultValue.registrationDate = registrationDate;
            _resultValue.releaseDate = releaseDate;
            _resultValue.shouldFeatureDisplayInPortal = shouldFeatureDisplayInPortal;
            _resultValue.state = state;
            _resultValue.subscriptionId = subscriptionId;
            _resultValue.tenantId = tenantId;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy