Enum PrivateAccessLevel
- java.lang.Object
-
- java.lang.Enum<PrivateAccessLevel>
-
- com.databricks.sdk.service.provisioning.PrivateAccessLevel
-
- All Implemented Interfaces:
Serializable
,Comparable<PrivateAccessLevel>
@Generated public enum PrivateAccessLevel extends Enum<PrivateAccessLevel>
The private access level controls which VPC endpoints can connect to the UI or API of any workspace that attaches this private access settings object. * `ACCOUNT` level access (the default) allows only VPC endpoints that are registered in your Databricks account connect to your workspace. * `ENDPOINT` level access allows only specified VPC endpoints connect to your workspace. For details, see `allowed_vpc_endpoint_ids`.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PrivateAccessLevel
valueOf(String name)
Returns the enum constant of this type with the specified name.static PrivateAccessLevel[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACCOUNT
public static final PrivateAccessLevel ACCOUNT
-
ENDPOINT
public static final PrivateAccessLevel ENDPOINT
-
-
Method Detail
-
values
public static PrivateAccessLevel[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PrivateAccessLevel c : PrivateAccessLevel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PrivateAccessLevel valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-