Class CustomConstraintName (2.33.0)

public class CustomConstraintName implements ResourceName

Inheritance

Object > CustomConstraintName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String organization, String customConstraint)

public static String format(String organization, String customConstraint)
Parameters
NameDescription
organizationString
customConstraintString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String organization, String customConstraint)

public static CustomConstraintName of(String organization, String customConstraint)
Parameters
NameDescription
organizationString
customConstraintString
Returns
TypeDescription
CustomConstraintName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<CustomConstraintName> values)

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

Constructors

CustomConstraintName() (deprecated)

protected CustomConstraintName()

Methods

equals(Object o)

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

getCustomConstraint()

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

getOrganization()

public String getOrganization()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides