Class BackupPlanName (0.40.0)

public class BackupPlanName implements ResourceName

Inheritance

Object > BackupPlanName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String backupPlan)

public static String format(String project, String location, String backupPlan)
Parameters
NameDescription
projectString
locationString
backupPlanString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String location, String backupPlan)

public static BackupPlanName of(String project, String location, String backupPlan)
Parameters
NameDescription
projectString
locationString
backupPlanString
Returns
TypeDescription
BackupPlanName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<BackupPlanName> values)

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

Constructors

BackupPlanName() (deprecated)

protected BackupPlanName()

Methods

equals(Object o)

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

getBackupPlan()

public String getBackupPlan()
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 BackupPlanName.Builder toBuilder()
Returns
TypeDescription
BackupPlanName.Builder

toString()

public String toString()
Returns
TypeDescription
String
Overrides