Class BackupName (2.10.3)

public class BackupName implements ResourceName

Inheritance

Object > BackupName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String instance, String cluster, String backup)

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

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

getCluster()

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