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

com.pulumi.googlenative.compute.alpha.outputs.PeerAuthenticationMethodResponse 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.googlenative.compute.alpha.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.googlenative.compute.alpha.outputs.MutualTlsResponse;
import java.util.Objects;

@CustomType
public final class PeerAuthenticationMethodResponse {
    /**
     * @return Set if mTLS is used for peer authentication.
     * 
     */
    private MutualTlsResponse mtls;

    private PeerAuthenticationMethodResponse() {}
    /**
     * @return Set if mTLS is used for peer authentication.
     * 
     */
    public MutualTlsResponse mtls() {
        return this.mtls;
    }

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

    public static Builder builder(PeerAuthenticationMethodResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private MutualTlsResponse mtls;
        public Builder() {}
        public Builder(PeerAuthenticationMethodResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.mtls = defaults.mtls;
        }

        @CustomType.Setter
        public Builder mtls(MutualTlsResponse mtls) {
            this.mtls = Objects.requireNonNull(mtls);
            return this;
        }
        public PeerAuthenticationMethodResponse build() {
            final var o = new PeerAuthenticationMethodResponse();
            o.mtls = mtls;
            return o;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy