Class BackupName (0.15.0)

public class BackupName implements ResourceName

Inheritance

Object > BackupName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String backupVault, String backup)

public static String format(String project, String location, String backupVault, String backup)
Parameters
NameDescription
projectString
locationString
backupVaultString
backupString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

public static boolean isParsableFrom(String formattedString)
Parameter
NameDescription
formattedStringString
Returns
TypeDescription
boolean

newBuilder()

public static BackupName.Builder newBuilder()
Returns
TypeDescription
BackupName.Builder

of(String project, String location, String backupVault, String backup)

public static BackupName of(String project, String location, String backupVault, String backup)
Parameters
NameDescription
projectString
locationString
backupVaultString
backupString
Returns
TypeDescription
BackupName

parse(String formattedString)

public static BackupName parse(String formattedString)
Parameter
NameDescription
formattedStringString
Returns
TypeDescription
BackupName

parseList(List<String> formattedStrings)

public static List<BackupName> parseList(List<String> formattedStrings)
Parameter
NameDescription
formattedStringsList<String>
Returns
TypeDescription
List<BackupName>

toStringList(List<BackupName> values)

public static List<String> toStringList(List<BackupName> values)
Parameter
NameDescription
valuesList<BackupName>
Returns
TypeDescription
List<String>

Constructors

BackupName() (deprecated)

protected BackupName()

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
NameDescription
oObject
Returns
TypeDescription
boolean
Overrides

getBackup()

public String getBackup()
Returns
TypeDescription
String

getBackupVault()

public String getBackupVault()
Returns
TypeDescription
String

getFieldValue(String fieldName)

public String getFieldValue(String fieldName)
Parameter
NameDescription
fieldNameString
Returns
TypeDescription
String

getFieldValuesMap()

public Map<String,String> getFieldValuesMap()
Returns
TypeDescription
Map<String,String>

getLocation()

public String getLocation()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

public BackupName.Builder toBuilder()
Returns
TypeDescription
BackupName.Builder

toString()

public String toString()
Returns
TypeDescription
String
Overrides