DefaultGateway Class

public final class DefaultGateway
extends ExpandableStringEnum<DefaultGateway>

The indicator of whether this is the default gateway. Only one of the attached networks (including the CloudServicesNetwork attachment) for a single machine may be specified as True.

Field Summary

Modifier and Type Field and Description
static final DefaultGateway FALSE

Static value False for DefaultGateway.

static final DefaultGateway TRUE

Static value True for DefaultGateway.

Constructor Summary

Constructor Description
DefaultGateway()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of DefaultGateway value.

Method Summary

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

Creates or finds a DefaultGateway from its string representation.

static Collection<DefaultGateway> values()

Gets known DefaultGateway values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

FALSE

public static final DefaultGateway FALSE

Static value False for DefaultGateway.

TRUE

public static final DefaultGateway TRUE

Static value True for DefaultGateway.

Constructor Details

DefaultGateway

@Deprecated
public DefaultGateway()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of DefaultGateway value.

Method Details

fromString

public static DefaultGateway fromString(String name)

Creates or finds a DefaultGateway from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding DefaultGateway.

values

public static Collection<DefaultGateway> values()

Gets known DefaultGateway values.

Returns:

known DefaultGateway values.

Applies to