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

com.pulumi.azurenative.azurestackhci.outputs.DefaultExtensionDetailsResponse 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.azurestackhci.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class DefaultExtensionDetailsResponse {
    /**
     * @return Default extension category
     * 
     */
    private String category;
    /**
     * @return Consent time for extension category
     * 
     */
    private String consentTime;

    private DefaultExtensionDetailsResponse() {}
    /**
     * @return Default extension category
     * 
     */
    public String category() {
        return this.category;
    }
    /**
     * @return Consent time for extension category
     * 
     */
    public String consentTime() {
        return this.consentTime;
    }

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

    public static Builder builder(DefaultExtensionDetailsResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String category;
        private String consentTime;
        public Builder() {}
        public Builder(DefaultExtensionDetailsResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.category = defaults.category;
    	      this.consentTime = defaults.consentTime;
        }

        @CustomType.Setter
        public Builder category(String category) {
            if (category == null) {
              throw new MissingRequiredPropertyException("DefaultExtensionDetailsResponse", "category");
            }
            this.category = category;
            return this;
        }
        @CustomType.Setter
        public Builder consentTime(String consentTime) {
            if (consentTime == null) {
              throw new MissingRequiredPropertyException("DefaultExtensionDetailsResponse", "consentTime");
            }
            this.consentTime = consentTime;
            return this;
        }
        public DefaultExtensionDetailsResponse build() {
            final var _resultValue = new DefaultExtensionDetailsResponse();
            _resultValue.category = category;
            _resultValue.consentTime = consentTime;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy