Class BackupName (6.50.1)

public class BackupName implements ResourceName

Inheritance

Object > BackupName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String instance, String backup)

public static String format(String project, String instance, String backup)
Parameters
NameDescription
projectString
instanceString
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 instance, String backup)

public static BackupName of(String project, String instance, String backup)
Parameters
NameDescription
projectString
instanceString
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()

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

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>

getInstance()

public String getInstance()
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