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

com.pulumi.azurenative.apimanagement.outputs.CertificateInformationResponse 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.apimanagement.outputs;

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

@CustomType
public final class CertificateInformationResponse {
    /**
     * @return Expiration date of the certificate. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.
     * 
     */
    private String expiry;
    /**
     * @return Subject of the certificate.
     * 
     */
    private String subject;
    /**
     * @return Thumbprint of the certificate.
     * 
     */
    private String thumbprint;

    private CertificateInformationResponse() {}
    /**
     * @return Expiration date of the certificate. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.
     * 
     */
    public String expiry() {
        return this.expiry;
    }
    /**
     * @return Subject of the certificate.
     * 
     */
    public String subject() {
        return this.subject;
    }
    /**
     * @return Thumbprint of the certificate.
     * 
     */
    public String thumbprint() {
        return this.thumbprint;
    }

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

    public static Builder builder(CertificateInformationResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String expiry;
        private String subject;
        private String thumbprint;
        public Builder() {}
        public Builder(CertificateInformationResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.expiry = defaults.expiry;
    	      this.subject = defaults.subject;
    	      this.thumbprint = defaults.thumbprint;
        }

        @CustomType.Setter
        public Builder expiry(String expiry) {
            if (expiry == null) {
              throw new MissingRequiredPropertyException("CertificateInformationResponse", "expiry");
            }
            this.expiry = expiry;
            return this;
        }
        @CustomType.Setter
        public Builder subject(String subject) {
            if (subject == null) {
              throw new MissingRequiredPropertyException("CertificateInformationResponse", "subject");
            }
            this.subject = subject;
            return this;
        }
        @CustomType.Setter
        public Builder thumbprint(String thumbprint) {
            if (thumbprint == null) {
              throw new MissingRequiredPropertyException("CertificateInformationResponse", "thumbprint");
            }
            this.thumbprint = thumbprint;
            return this;
        }
        public CertificateInformationResponse build() {
            final var _resultValue = new CertificateInformationResponse();
            _resultValue.expiry = expiry;
            _resultValue.subject = subject;
            _resultValue.thumbprint = thumbprint;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy