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

com.pulumi.googlenative.redis.v1.enums.InstanceConnectMode 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.redis.v1.enums;

import com.pulumi.core.annotations.EnumType;
import java.lang.String;
import java.util.Objects;
import java.util.StringJoiner;

    /**
     * Optional. The network connect mode of the Redis instance. If not provided, the connect mode defaults to DIRECT_PEERING.
     * 
     */
    @EnumType
    public enum InstanceConnectMode {
        /**
         * Not set.
         * 
         */
        ConnectModeUnspecified("CONNECT_MODE_UNSPECIFIED"),
        /**
         * Connect via direct peering to the Memorystore for Redis hosted service.
         * 
         */
        DirectPeering("DIRECT_PEERING"),
        /**
         * Connect your Memorystore for Redis instance using Private Service Access. Private services access provides an IP address range for multiple Google Cloud services, including Memorystore.
         * 
         */
        PrivateServiceAccess("PRIVATE_SERVICE_ACCESS");

        private final String value;

        InstanceConnectMode(String value) {
            this.value = Objects.requireNonNull(value);
        }

        @EnumType.Converter
        public String getValue() {
            return this.value;
        }

        @Override
        public String toString() {
            return new StringJoiner(", ", "InstanceConnectMode[", "]")
                .add("value='" + this.value + "'")
                .toString();
        }
    }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy