BastionConnectProtocol Class

public final class BastionConnectProtocol
extends ExpandableStringEnum<BastionConnectProtocol>

The protocol used to connect to the target.

Field Summary

Modifier and Type Field and Description
static final BastionConnectProtocol RDP

Static value RDP for BastionConnectProtocol.

static final BastionConnectProtocol SSH

Static value SSH for BastionConnectProtocol.

Constructor Summary

Constructor Description
BastionConnectProtocol()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of BastionConnectProtocol value.

Method Summary

Modifier and Type Method and Description
static BastionConnectProtocol fromString(String name)

Creates or finds a BastionConnectProtocol from its string representation.

static Collection<BastionConnectProtocol> values()

Gets known BastionConnectProtocol values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

RDP

public static final BastionConnectProtocol RDP

Static value RDP for BastionConnectProtocol.

SSH

public static final BastionConnectProtocol SSH

Static value SSH for BastionConnectProtocol.

Constructor Details

BastionConnectProtocol

@Deprecated
public BastionConnectProtocol()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of BastionConnectProtocol value.

Method Details

fromString

public static BastionConnectProtocol fromString(String name)

Creates or finds a BastionConnectProtocol from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding BastionConnectProtocol.

values

public static Collection values()

Gets known BastionConnectProtocol values.

Returns:

known BastionConnectProtocol values.

Applies to