Class NotificationChannelName (3.4.4)

public class NotificationChannelName implements ResourceName

Inheritance

Object > NotificationChannelName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String notificationChannel)

public static String format(String project, String notificationChannel)
Parameters
NameDescription
projectString
notificationChannelString
Returns
TypeDescription
String

formatFolderNotificationChannelName(String folder, String notificationChannel)

public static String formatFolderNotificationChannelName(String folder, String notificationChannel)
Parameters
NameDescription
folderString
notificationChannelString
Returns
TypeDescription
String

formatOrganizationNotificationChannelName(String organization, String notificationChannel)

public static String formatOrganizationNotificationChannelName(String organization, String notificationChannel)
Parameters
NameDescription
organizationString
notificationChannelString
Returns
TypeDescription
String

formatProjectNotificationChannelName(String project, String notificationChannel)

public static String formatProjectNotificationChannelName(String project, String notificationChannel)
Parameters
NameDescription
projectString
notificationChannelString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

newFolderNotificationChannelBuilder()

public static NotificationChannelName.FolderNotificationChannelBuilder newFolderNotificationChannelBuilder()
Returns
TypeDescription
NotificationChannelName.FolderNotificationChannelBuilder

newOrganizationNotificationChannelBuilder()

public static NotificationChannelName.OrganizationNotificationChannelBuilder newOrganizationNotificationChannelBuilder()
Returns
TypeDescription
NotificationChannelName.OrganizationNotificationChannelBuilder

newProjectNotificationChannelBuilder()

public static NotificationChannelName.Builder newProjectNotificationChannelBuilder()
Returns
TypeDescription
NotificationChannelName.Builder

of(String project, String notificationChannel)

public static NotificationChannelName of(String project, String notificationChannel)
Parameters
NameDescription
projectString
notificationChannelString
Returns
TypeDescription
NotificationChannelName

ofFolderNotificationChannelName(String folder, String notificationChannel)

public static NotificationChannelName ofFolderNotificationChannelName(String folder, String notificationChannel)
Parameters
NameDescription
folderString
notificationChannelString
Returns
TypeDescription
NotificationChannelName

ofOrganizationNotificationChannelName(String organization, String notificationChannel)

public static NotificationChannelName ofOrganizationNotificationChannelName(String organization, String notificationChannel)
Parameters
NameDescription
organizationString
notificationChannelString
Returns
TypeDescription
NotificationChannelName

ofProjectNotificationChannelName(String project, String notificationChannel)

public static NotificationChannelName ofProjectNotificationChannelName(String project, String notificationChannel)
Parameters
NameDescription
projectString
notificationChannelString
Returns
TypeDescription
NotificationChannelName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<NotificationChannelName> values)

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

Constructors

NotificationChannelName()

protected NotificationChannelName()

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>

getFolder()

public String getFolder()
Returns
TypeDescription
String

getNotificationChannel()

public String getNotificationChannel()
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 NotificationChannelName.Builder toBuilder()
Returns
TypeDescription
NotificationChannelName.Builder

toString()

public String toString()
Returns
TypeDescription
String
Overrides