Partager via


ServiceUpdateAction Class

public final class ServiceUpdateAction
extends ExpandableStringEnum<ServiceUpdateAction>

Specifies the type of update operation to perform on services within the service gateway. - FullUpdate: Replaces all existing services with the new list provided in the request. Any previously defined services not included will be removed. - PartialUpdate: Updates only the specified services.

Field Summary

Modifier and Type Field and Description
static final ServiceUpdateAction FULL_UPDATE

Static value FullUpdate for ServiceUpdateAction.

static final ServiceUpdateAction PARTIAL_UPDATE

Static value PartialUpdate for ServiceUpdateAction.

Constructor Summary

Constructor Description
ServiceUpdateAction()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ServiceUpdateAction value.

Method Summary

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

Creates or finds a ServiceUpdateAction from its string representation.

static Collection<ServiceUpdateAction> values()

Gets known ServiceUpdateAction values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

FULL_UPDATE

public static final ServiceUpdateAction FULL_UPDATE

Static value FullUpdate for ServiceUpdateAction.

PARTIAL_UPDATE

public static final ServiceUpdateAction PARTIAL_UPDATE

Static value PartialUpdate for ServiceUpdateAction.

Constructor Details

ServiceUpdateAction

@Deprecated
public ServiceUpdateAction()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ServiceUpdateAction value.

Method Details

fromString

public static ServiceUpdateAction fromString(String name)

Creates or finds a ServiceUpdateAction from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ServiceUpdateAction.

values

public static Collection<ServiceUpdateAction> values()

Gets known ServiceUpdateAction values.

Returns:

known ServiceUpdateAction values.

Applies to