Class DataPolicyName (0.38.0)

public class DataPolicyName implements ResourceName

Inheritance

Object > DataPolicyName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String dataPolicy)

public static String format(String project, String location, String dataPolicy)
Parameters
NameDescription
projectString
locationString
dataPolicyString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String location, String dataPolicy)

public static DataPolicyName of(String project, String location, String dataPolicy)
Parameters
NameDescription
projectString
locationString
dataPolicyString
Returns
TypeDescription
DataPolicyName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<DataPolicyName> values)

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

Constructors

DataPolicyName() (deprecated)

protected DataPolicyName()

Methods

equals(Object o)

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

getDataPolicy()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides