Class NotificationName (0.26.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

formatOrganizationLocationNotificationName(String organization, String location, String notification)

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

formatProjectLocationNotificationName(String project, String location, String notification)

public static String formatProjectLocationNotificationName(String project, String location, String notification)
Parameters
NameDescription
projectString
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

newOrganizationLocationNotificationBuilder()

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

newProjectLocationNotificationBuilder()

public static NotificationName.ProjectLocationNotificationBuilder newProjectLocationNotificationBuilder()
Returns
TypeDescription
NotificationName.ProjectLocationNotificationBuilder

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

ofOrganizationLocationNotificationName(String organization, String location, String notification)

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

ofProjectLocationNotificationName(String project, String location, String notification)

public static NotificationName ofProjectLocationNotificationName(String project, String location, String notification)
Parameters
NameDescription
projectString
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() (deprecated)

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

getProject()

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