public final class InstanceId extends Object
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getInstance()
Returns the instance ID.
|
String |
getName()
Returns the name of the instance.
|
String |
getProject()
Returns the ID of the project that owns this instance.
|
int |
hashCode() |
static InstanceId |
of(String project,
String instance)
Creates an
InstanceId given project and instance IDs. |
String |
toString() |
public String getInstance()
public String getProject()
public String getName()
public static InstanceId of(String project, String instance)
InstanceId
given project and instance IDs.Copyright © 2022 Google LLC. All rights reserved.