// *** 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.gcp.certificateauthority.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.util.Objects;

@CustomType
public final class GetAuthorityConfigX509ConfigKeyUsageBaseKeyUsage {
    private Boolean certSign;
    private Boolean contentCommitment;
    private Boolean crlSign;
    private Boolean dataEncipherment;
    private Boolean decipherOnly;
    private Boolean digitalSignature;
    private Boolean encipherOnly;
    private Boolean keyAgreement;
    private Boolean keyEncipherment;

    private GetAuthorityConfigX509ConfigKeyUsageBaseKeyUsage() {}
    public Boolean certSign() {
        return this.certSign;
    }
    public Boolean contentCommitment() {
        return this.contentCommitment;
    }
    public Boolean crlSign() {
        return this.crlSign;
    }
    public Boolean dataEncipherment() {
        return this.dataEncipherment;
    }
    public Boolean decipherOnly() {
        return this.decipherOnly;
    }
    public Boolean digitalSignature() {
        return this.digitalSignature;
    }
    public Boolean encipherOnly() {
        return this.encipherOnly;
    }
    public Boolean keyAgreement() {
        return this.keyAgreement;
    }
    public Boolean keyEncipherment() {
        return this.keyEncipherment;
    }

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

    public static Builder builder(GetAuthorityConfigX509ConfigKeyUsageBaseKeyUsage defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private Boolean certSign;
        private Boolean contentCommitment;
        private Boolean crlSign;
        private Boolean dataEncipherment;
        private Boolean decipherOnly;
        private Boolean digitalSignature;
        private Boolean encipherOnly;
        private Boolean keyAgreement;
        private Boolean keyEncipherment;
        public Builder() {}
        public Builder(GetAuthorityConfigX509ConfigKeyUsageBaseKeyUsage defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.certSign = defaults.certSign;
    	      this.contentCommitment = defaults.contentCommitment;
    	      this.crlSign = defaults.crlSign;
    	      this.dataEncipherment = defaults.dataEncipherment;
    	      this.decipherOnly = defaults.decipherOnly;
    	      this.digitalSignature = defaults.digitalSignature;
    	      this.encipherOnly = defaults.encipherOnly;
    	      this.keyAgreement = defaults.keyAgreement;
    	      this.keyEncipherment = defaults.keyEncipherment;
        }

        @CustomType.Setter
        public Builder certSign(Boolean certSign) {
            this.certSign = Objects.requireNonNull(certSign);
            return this;
        }
        @CustomType.Setter
        public Builder contentCommitment(Boolean contentCommitment) {
            this.contentCommitment = Objects.requireNonNull(contentCommitment);
            return this;
        }
        @CustomType.Setter
        public Builder crlSign(Boolean crlSign) {
            this.crlSign = Objects.requireNonNull(crlSign);
            return this;
        }
        @CustomType.Setter
        public Builder dataEncipherment(Boolean dataEncipherment) {
            this.dataEncipherment = Objects.requireNonNull(dataEncipherment);
            return this;
        }
        @CustomType.Setter
        public Builder decipherOnly(Boolean decipherOnly) {
            this.decipherOnly = Objects.requireNonNull(decipherOnly);
            return this;
        }
        @CustomType.Setter
        public Builder digitalSignature(Boolean digitalSignature) {
            this.digitalSignature = Objects.requireNonNull(digitalSignature);
            return this;
        }
        @CustomType.Setter
        public Builder encipherOnly(Boolean encipherOnly) {
            this.encipherOnly = Objects.requireNonNull(encipherOnly);
            return this;
        }
        @CustomType.Setter
        public Builder keyAgreement(Boolean keyAgreement) {
            this.keyAgreement = Objects.requireNonNull(keyAgreement);
            return this;
        }
        @CustomType.Setter
        public Builder keyEncipherment(Boolean keyEncipherment) {
            this.keyEncipherment = Objects.requireNonNull(keyEncipherment);
            return this;
        }
        public GetAuthorityConfigX509ConfigKeyUsageBaseKeyUsage build() {
            final var o = new GetAuthorityConfigX509ConfigKeyUsageBaseKeyUsage();
            o.certSign = certSign;
            o.contentCommitment = contentCommitment;
            o.crlSign = crlSign;
            o.dataEncipherment = dataEncipherment;
            o.decipherOnly = decipherOnly;
            o.digitalSignature = digitalSignature;
            o.encipherOnly = encipherOnly;
            o.keyAgreement = keyAgreement;
            o.keyEncipherment = keyEncipherment;
            return o;
        }
    }
}
