SharedPrivateLinkResourceStatus Class

public final class SharedPrivateLinkResourceStatus
extends ExpandableStringEnum<SharedPrivateLinkResourceStatus>

Status of the shared private link resource. Valid values are Pending, Approved, Rejected or Disconnected.

Field Summary

Modifier and Type Field and Description
static final SharedPrivateLinkResourceStatus APPROVED

The shared private link resource is approved and is ready for use.

static final SharedPrivateLinkResourceStatus DISCONNECTED

The shared private link resource has been removed from the service.

static final SharedPrivateLinkResourceStatus PENDING

The shared private link resource has been created and is pending approval.

static final SharedPrivateLinkResourceStatus REJECTED

The shared private link resource has been rejected and cannot be used.

Constructor Summary

Constructor Description
SharedPrivateLinkResourceStatus()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SharedPrivateLinkResourceStatus value.

Method Summary

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

Creates or finds a SharedPrivateLinkResourceStatus from its string representation.

static Collection<SharedPrivateLinkResourceStatus> values()

Gets known SharedPrivateLinkResourceStatus values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

APPROVED

public static final SharedPrivateLinkResourceStatus APPROVED

The shared private link resource is approved and is ready for use.

DISCONNECTED

public static final SharedPrivateLinkResourceStatus DISCONNECTED

The shared private link resource has been removed from the service.

PENDING

public static final SharedPrivateLinkResourceStatus PENDING

The shared private link resource has been created and is pending approval.

REJECTED

public static final SharedPrivateLinkResourceStatus REJECTED

The shared private link resource has been rejected and cannot be used.

Constructor Details

SharedPrivateLinkResourceStatus

@Deprecated
public SharedPrivateLinkResourceStatus()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SharedPrivateLinkResourceStatus value.

Method Details

fromString

public static SharedPrivateLinkResourceStatus fromString(String name)

Creates or finds a SharedPrivateLinkResourceStatus from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding SharedPrivateLinkResourceStatus.

values

public static Collection<SharedPrivateLinkResourceStatus> values()

Gets known SharedPrivateLinkResourceStatus values.

Returns:

known SharedPrivateLinkResourceStatus values.

Applies to