Class NotificationName (0.5.0)

public class NotificationName implements ResourceName

Inheritance

Object > NotificationName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String organization, String location, String notification)

public static String format(String organization, String location, String notification)
Parameters
NameDescription
organizationString
locationString
notificationString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String organization, String location, String notification)

public static NotificationName of(String organization, String location, String notification)
Parameters
NameDescription
organizationString
locationString
notificationString
Returns
TypeDescription
NotificationName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<NotificationName> values)

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

Constructors

NotificationName()

protected NotificationName()

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

getNotification()

public String getNotification()
Returns
TypeDescription
String

getOrganization()

public String getOrganization()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides