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

com.pulumi.googlenative.networksecurity.v1.TlsInspectionPolicyArgs 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.networksecurity.v1;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class TlsInspectionPolicyArgs extends com.pulumi.resources.ResourceArgs {

    public static final TlsInspectionPolicyArgs Empty = new TlsInspectionPolicyArgs();

    /**
     * A CA pool resource used to issue interception certificates. The CA pool string has a relative resource path following the form "projects/{project}/locations/{location}/caPools/{ca_pool}".
     * 
     */
    @Import(name="caPool", required=true)
    private Output caPool;

    /**
     * @return A CA pool resource used to issue interception certificates. The CA pool string has a relative resource path following the form "projects/{project}/locations/{location}/caPools/{ca_pool}".
     * 
     */
    public Output caPool() {
        return this.caPool;
    }

    /**
     * Optional. Free-text description of the resource.
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return Optional. Free-text description of the resource.
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    @Import(name="location")
    private @Nullable Output location;

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

    /**
     * Name of the resource. Name is of the form projects/{project}/locations/{location}/tlsInspectionPolicies/{tls_inspection_policy} tls_inspection_policy should match the pattern:(^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$).
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return Name of the resource. Name is of the form projects/{project}/locations/{location}/tlsInspectionPolicies/{tls_inspection_policy} tls_inspection_policy should match the pattern:(^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$).
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    @Import(name="project")
    private @Nullable Output project;

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

    /**
     * Required. Short name of the TlsInspectionPolicy resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "tls_inspection_policy1".
     * 
     */
    @Import(name="tlsInspectionPolicyId", required=true)
    private Output tlsInspectionPolicyId;

    /**
     * @return Required. Short name of the TlsInspectionPolicy resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "tls_inspection_policy1".
     * 
     */
    public Output tlsInspectionPolicyId() {
        return this.tlsInspectionPolicyId;
    }

    private TlsInspectionPolicyArgs() {}

    private TlsInspectionPolicyArgs(TlsInspectionPolicyArgs $) {
        this.caPool = $.caPool;
        this.description = $.description;
        this.location = $.location;
        this.name = $.name;
        this.project = $.project;
        this.tlsInspectionPolicyId = $.tlsInspectionPolicyId;
    }

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

    public static final class Builder {
        private TlsInspectionPolicyArgs $;

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

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

        /**
         * @param caPool A CA pool resource used to issue interception certificates. The CA pool string has a relative resource path following the form "projects/{project}/locations/{location}/caPools/{ca_pool}".
         * 
         * @return builder
         * 
         */
        public Builder caPool(Output caPool) {
            $.caPool = caPool;
            return this;
        }

        /**
         * @param caPool A CA pool resource used to issue interception certificates. The CA pool string has a relative resource path following the form "projects/{project}/locations/{location}/caPools/{ca_pool}".
         * 
         * @return builder
         * 
         */
        public Builder caPool(String caPool) {
            return caPool(Output.of(caPool));
        }

        /**
         * @param description Optional. Free-text description of the resource.
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output description) {
            $.description = description;
            return this;
        }

        /**
         * @param description Optional. Free-text description of the resource.
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        public Builder location(@Nullable Output location) {
            $.location = location;
            return this;
        }

        public Builder location(String location) {
            return location(Output.of(location));
        }

        /**
         * @param name Name of the resource. Name is of the form projects/{project}/locations/{location}/tlsInspectionPolicies/{tls_inspection_policy} tls_inspection_policy should match the pattern:(^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$).
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Name of the resource. Name is of the form projects/{project}/locations/{location}/tlsInspectionPolicies/{tls_inspection_policy} tls_inspection_policy should match the pattern:(^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$).
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        public Builder project(@Nullable Output project) {
            $.project = project;
            return this;
        }

        public Builder project(String project) {
            return project(Output.of(project));
        }

        /**
         * @param tlsInspectionPolicyId Required. Short name of the TlsInspectionPolicy resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "tls_inspection_policy1".
         * 
         * @return builder
         * 
         */
        public Builder tlsInspectionPolicyId(Output tlsInspectionPolicyId) {
            $.tlsInspectionPolicyId = tlsInspectionPolicyId;
            return this;
        }

        /**
         * @param tlsInspectionPolicyId Required. Short name of the TlsInspectionPolicy resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "tls_inspection_policy1".
         * 
         * @return builder
         * 
         */
        public Builder tlsInspectionPolicyId(String tlsInspectionPolicyId) {
            return tlsInspectionPolicyId(Output.of(tlsInspectionPolicyId));
        }

        public TlsInspectionPolicyArgs build() {
            $.caPool = Objects.requireNonNull($.caPool, "expected parameter 'caPool' to be non-null");
            $.tlsInspectionPolicyId = Objects.requireNonNull($.tlsInspectionPolicyId, "expected parameter 'tlsInspectionPolicyId' to be non-null");
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy