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

com.pulumi.akamai.inputs.GetPropertyRulesBuilderRulesV20231030BehaviorOriginCustomCertificate 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.akamai.inputs;

import com.pulumi.akamai.inputs.GetPropertyRulesBuilderRulesV20231030BehaviorOriginCustomCertificateIssuerRdns;
import com.pulumi.akamai.inputs.GetPropertyRulesBuilderRulesV20231030BehaviorOriginCustomCertificateSubjectRdns;
import com.pulumi.core.annotations.Import;
import java.lang.Boolean;
import java.lang.Integer;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class GetPropertyRulesBuilderRulesV20231030BehaviorOriginCustomCertificate extends com.pulumi.resources.InvokeArgs {

    public static final GetPropertyRulesBuilderRulesV20231030BehaviorOriginCustomCertificate Empty = new GetPropertyRulesBuilderRulesV20231030BehaviorOriginCustomCertificate();

    @Import(name="canBeCa")
    private @Nullable Boolean canBeCa;

    public Optional canBeCa() {
        return Optional.ofNullable(this.canBeCa);
    }

    @Import(name="canBeLeaf")
    private @Nullable Boolean canBeLeaf;

    public Optional canBeLeaf() {
        return Optional.ofNullable(this.canBeLeaf);
    }

    @Import(name="issuerRdns")
    private @Nullable GetPropertyRulesBuilderRulesV20231030BehaviorOriginCustomCertificateIssuerRdns issuerRdns;

    public Optional issuerRdns() {
        return Optional.ofNullable(this.issuerRdns);
    }

    @Import(name="notAfter")
    private @Nullable Integer notAfter;

    public Optional notAfter() {
        return Optional.ofNullable(this.notAfter);
    }

    @Import(name="notBefore")
    private @Nullable Integer notBefore;

    public Optional notBefore() {
        return Optional.ofNullable(this.notBefore);
    }

    @Import(name="pemEncodedCert")
    private @Nullable String pemEncodedCert;

    public Optional pemEncodedCert() {
        return Optional.ofNullable(this.pemEncodedCert);
    }

    @Import(name="publicKey")
    private @Nullable String publicKey;

    public Optional publicKey() {
        return Optional.ofNullable(this.publicKey);
    }

    @Import(name="publicKeyAlgorithm")
    private @Nullable String publicKeyAlgorithm;

    public Optional publicKeyAlgorithm() {
        return Optional.ofNullable(this.publicKeyAlgorithm);
    }

    @Import(name="publicKeyFormat")
    private @Nullable String publicKeyFormat;

    public Optional publicKeyFormat() {
        return Optional.ofNullable(this.publicKeyFormat);
    }

    @Import(name="selfSigned")
    private @Nullable Boolean selfSigned;

    public Optional selfSigned() {
        return Optional.ofNullable(this.selfSigned);
    }

    @Import(name="serialNumber")
    private @Nullable String serialNumber;

    public Optional serialNumber() {
        return Optional.ofNullable(this.serialNumber);
    }

    @Import(name="sha1Fingerprint")
    private @Nullable String sha1Fingerprint;

    public Optional sha1Fingerprint() {
        return Optional.ofNullable(this.sha1Fingerprint);
    }

    @Import(name="sigAlgName")
    private @Nullable String sigAlgName;

    public Optional sigAlgName() {
        return Optional.ofNullable(this.sigAlgName);
    }

    @Import(name="subjectAlternativeNames")
    private @Nullable List subjectAlternativeNames;

    public Optional> subjectAlternativeNames() {
        return Optional.ofNullable(this.subjectAlternativeNames);
    }

    @Import(name="subjectCn")
    private @Nullable String subjectCn;

    public Optional subjectCn() {
        return Optional.ofNullable(this.subjectCn);
    }

    @Import(name="subjectRdns")
    private @Nullable GetPropertyRulesBuilderRulesV20231030BehaviorOriginCustomCertificateSubjectRdns subjectRdns;

    public Optional subjectRdns() {
        return Optional.ofNullable(this.subjectRdns);
    }

    @Import(name="version")
    private @Nullable Integer version;

    public Optional version() {
        return Optional.ofNullable(this.version);
    }

    private GetPropertyRulesBuilderRulesV20231030BehaviorOriginCustomCertificate() {}

    private GetPropertyRulesBuilderRulesV20231030BehaviorOriginCustomCertificate(GetPropertyRulesBuilderRulesV20231030BehaviorOriginCustomCertificate $) {
        this.canBeCa = $.canBeCa;
        this.canBeLeaf = $.canBeLeaf;
        this.issuerRdns = $.issuerRdns;
        this.notAfter = $.notAfter;
        this.notBefore = $.notBefore;
        this.pemEncodedCert = $.pemEncodedCert;
        this.publicKey = $.publicKey;
        this.publicKeyAlgorithm = $.publicKeyAlgorithm;
        this.publicKeyFormat = $.publicKeyFormat;
        this.selfSigned = $.selfSigned;
        this.serialNumber = $.serialNumber;
        this.sha1Fingerprint = $.sha1Fingerprint;
        this.sigAlgName = $.sigAlgName;
        this.subjectAlternativeNames = $.subjectAlternativeNames;
        this.subjectCn = $.subjectCn;
        this.subjectRdns = $.subjectRdns;
        this.version = $.version;
    }

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

    public static final class Builder {
        private GetPropertyRulesBuilderRulesV20231030BehaviorOriginCustomCertificate $;

        public Builder() {
            $ = new GetPropertyRulesBuilderRulesV20231030BehaviorOriginCustomCertificate();
        }

        public Builder(GetPropertyRulesBuilderRulesV20231030BehaviorOriginCustomCertificate defaults) {
            $ = new GetPropertyRulesBuilderRulesV20231030BehaviorOriginCustomCertificate(Objects.requireNonNull(defaults));
        }

        public Builder canBeCa(@Nullable Boolean canBeCa) {
            $.canBeCa = canBeCa;
            return this;
        }

        public Builder canBeLeaf(@Nullable Boolean canBeLeaf) {
            $.canBeLeaf = canBeLeaf;
            return this;
        }

        public Builder issuerRdns(@Nullable GetPropertyRulesBuilderRulesV20231030BehaviorOriginCustomCertificateIssuerRdns issuerRdns) {
            $.issuerRdns = issuerRdns;
            return this;
        }

        public Builder notAfter(@Nullable Integer notAfter) {
            $.notAfter = notAfter;
            return this;
        }

        public Builder notBefore(@Nullable Integer notBefore) {
            $.notBefore = notBefore;
            return this;
        }

        public Builder pemEncodedCert(@Nullable String pemEncodedCert) {
            $.pemEncodedCert = pemEncodedCert;
            return this;
        }

        public Builder publicKey(@Nullable String publicKey) {
            $.publicKey = publicKey;
            return this;
        }

        public Builder publicKeyAlgorithm(@Nullable String publicKeyAlgorithm) {
            $.publicKeyAlgorithm = publicKeyAlgorithm;
            return this;
        }

        public Builder publicKeyFormat(@Nullable String publicKeyFormat) {
            $.publicKeyFormat = publicKeyFormat;
            return this;
        }

        public Builder selfSigned(@Nullable Boolean selfSigned) {
            $.selfSigned = selfSigned;
            return this;
        }

        public Builder serialNumber(@Nullable String serialNumber) {
            $.serialNumber = serialNumber;
            return this;
        }

        public Builder sha1Fingerprint(@Nullable String sha1Fingerprint) {
            $.sha1Fingerprint = sha1Fingerprint;
            return this;
        }

        public Builder sigAlgName(@Nullable String sigAlgName) {
            $.sigAlgName = sigAlgName;
            return this;
        }

        public Builder subjectAlternativeNames(@Nullable List subjectAlternativeNames) {
            $.subjectAlternativeNames = subjectAlternativeNames;
            return this;
        }

        public Builder subjectAlternativeNames(String... subjectAlternativeNames) {
            return subjectAlternativeNames(List.of(subjectAlternativeNames));
        }

        public Builder subjectCn(@Nullable String subjectCn) {
            $.subjectCn = subjectCn;
            return this;
        }

        public Builder subjectRdns(@Nullable GetPropertyRulesBuilderRulesV20231030BehaviorOriginCustomCertificateSubjectRdns subjectRdns) {
            $.subjectRdns = subjectRdns;
            return this;
        }

        public Builder version(@Nullable Integer version) {
            $.version = version;
            return this;
        }

        public GetPropertyRulesBuilderRulesV20231030BehaviorOriginCustomCertificate build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy