Class CustomConstraintName (2.53.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
Name Description
organization String
customConstraint String
Returns
Type Description
String

isParsableFrom(String formattedString)

public static boolean isParsableFrom(String formattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
boolean

newBuilder()

public static CustomConstraintName.Builder newBuilder()
Returns
Type Description
CustomConstraintName.Builder

of(String organization, String customConstraint)

public static CustomConstraintName of(String organization, String customConstraint)
Parameters
Name Description
organization String
customConstraint String
Returns
Type Description
CustomConstraintName

parse(String formattedString)

public static CustomConstraintName parse(String formattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
CustomConstraintName

parseList(List<String> formattedStrings)

public static List<CustomConstraintName> parseList(List<String> formattedStrings)
Parameter
Name Description
formattedStrings List<String>
Returns
Type Description
List<CustomConstraintName>

toStringList(List<CustomConstraintName> values)

public static List<String> toStringList(List<CustomConstraintName> values)
Parameter
Name Description
values List<CustomConstraintName>
Returns
Type Description
List<String>

Constructors

CustomConstraintName() (deprecated)

protected CustomConstraintName()

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
Name Description
o Object
Returns
Type Description
boolean
Overrides

getCustomConstraint()

public String getCustomConstraint()
Returns
Type Description
String

getFieldValue(String fieldName)

public String getFieldValue(String fieldName)
Parameter
Name Description
fieldName String
Returns
Type Description
String

getFieldValuesMap()

public Map<String,String> getFieldValuesMap()
Returns
Type Description
Map<String,String>

getOrganization()

public String getOrganization()
Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toBuilder()

public CustomConstraintName.Builder toBuilder()
Returns
Type Description
CustomConstraintName.Builder

toString()

public String toString()
Returns
Type Description
String
Overrides