Class AlertPolicyConditionName (3.20.0)

public class AlertPolicyConditionName implements ResourceName

AUTO-GENERATED DOCUMENTATION AND CLASS

Inheritance

Object > AlertPolicyConditionName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String alertPolicy, String condition)

public static String format(String project, String alertPolicy, String condition)
Parameters
NameDescription
projectString
alertPolicyString
conditionString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String alertPolicy, String condition)

public static AlertPolicyConditionName of(String project, String alertPolicy, String condition)
Parameters
NameDescription
projectString
alertPolicyString
conditionString
Returns
TypeDescription
AlertPolicyConditionName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<AlertPolicyConditionName> values)

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

Methods

equals(Object o)

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

getAlertPolicy()

public String getAlertPolicy()
Returns
TypeDescription
String

getCondition()

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

getProject()

public String getProject()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides