@Generated(value="by gapic-generator-java") public class BackupName extends Object implements com.google.api.resourcenames.ResourceName
Modifier and Type | Class and Description |
---|---|
static class |
BackupName.Builder
Builder for projects/{project}/instances/{instance}/backups/{backup}.
|
Modifier | Constructor and Description |
---|---|
protected |
BackupName()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static String |
format(String project,
String instance,
String backup) |
String |
getBackup() |
String |
getFieldValue(String fieldName) |
Map<String,String> |
getFieldValuesMap() |
String |
getInstance() |
String |
getProject() |
int |
hashCode() |
static boolean |
isParsableFrom(String formattedString) |
static BackupName.Builder |
newBuilder() |
static BackupName |
of(String project,
String instance,
String backup) |
static BackupName |
parse(String formattedString) |
static List<BackupName> |
parseList(List<String> formattedStrings) |
BackupName.Builder |
toBuilder() |
String |
toString() |
static List<String> |
toStringList(List<BackupName> values) |
@Deprecated protected BackupName()
public String getProject()
public String getInstance()
public String getBackup()
public static BackupName.Builder newBuilder()
public BackupName.Builder toBuilder()
public static BackupName of(String project, String instance, String backup)
public static BackupName parse(String formattedString)
public static List<BackupName> parseList(List<String> formattedStrings)
public static List<String> toStringList(List<BackupName> values)
public static boolean isParsableFrom(String formattedString)
public Map<String,String> getFieldValuesMap()
getFieldValuesMap
in interface com.google.api.resourcenames.ResourceName
public String getFieldValue(String fieldName)
getFieldValue
in interface com.google.api.resourcenames.ResourceName
Copyright © 2022 Google LLC. All rights reserved.