Class RestoreName (0.7.0)

public class RestoreName implements ResourceName

Inheritance

Object > RestoreName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String restorePlan, String restore)

public static String format(String project, String location, String restorePlan, String restore)
Parameters
NameDescription
projectString
locationString
restorePlanString
restoreString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String location, String restorePlan, String restore)

public static RestoreName of(String project, String location, String restorePlan, String restore)
Parameters
NameDescription
projectString
locationString
restorePlanString
restoreString
Returns
TypeDescription
RestoreName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<RestoreName> values)

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

Constructors

RestoreName()

protected RestoreName()

Methods

equals(Object o)

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

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

getRestore()

public String getRestore()
Returns
TypeDescription
String

getRestorePlan()

public String getRestorePlan()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides