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

com.pulumi.azurenative.iotoperationsmq.outputs.CertManagerCertOptionsResponse Maven / Gradle / Ivy

The 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.iotoperationsmq.outputs;

import com.pulumi.azurenative.iotoperationsmq.outputs.CertManagerPrivateKeyResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class CertManagerCertOptionsResponse {
    /**
     * @return Duration of CA cert.
     * 
     */
    private String duration;
    /**
     * @return Cert Manager private key.
     * 
     */
    private CertManagerPrivateKeyResponse privateKey;
    /**
     * @return Renew before time of CA cert.
     * 
     */
    private String renewBefore;

    private CertManagerCertOptionsResponse() {}
    /**
     * @return Duration of CA cert.
     * 
     */
    public String duration() {
        return this.duration;
    }
    /**
     * @return Cert Manager private key.
     * 
     */
    public CertManagerPrivateKeyResponse privateKey() {
        return this.privateKey;
    }
    /**
     * @return Renew before time of CA cert.
     * 
     */
    public String renewBefore() {
        return this.renewBefore;
    }

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

    public static Builder builder(CertManagerCertOptionsResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String duration;
        private CertManagerPrivateKeyResponse privateKey;
        private String renewBefore;
        public Builder() {}
        public Builder(CertManagerCertOptionsResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.duration = defaults.duration;
    	      this.privateKey = defaults.privateKey;
    	      this.renewBefore = defaults.renewBefore;
        }

        @CustomType.Setter
        public Builder duration(String duration) {
            if (duration == null) {
              throw new MissingRequiredPropertyException("CertManagerCertOptionsResponse", "duration");
            }
            this.duration = duration;
            return this;
        }
        @CustomType.Setter
        public Builder privateKey(CertManagerPrivateKeyResponse privateKey) {
            if (privateKey == null) {
              throw new MissingRequiredPropertyException("CertManagerCertOptionsResponse", "privateKey");
            }
            this.privateKey = privateKey;
            return this;
        }
        @CustomType.Setter
        public Builder renewBefore(String renewBefore) {
            if (renewBefore == null) {
              throw new MissingRequiredPropertyException("CertManagerCertOptionsResponse", "renewBefore");
            }
            this.renewBefore = renewBefore;
            return this;
        }
        public CertManagerCertOptionsResponse build() {
            final var _resultValue = new CertManagerCertOptionsResponse();
            _resultValue.duration = duration;
            _resultValue.privateKey = privateKey;
            _resultValue.renewBefore = renewBefore;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy