Class NotificationName (2.17.1)

public class NotificationName implements ResourceName

Inheritance

Object > NotificationName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String bucket, String notification)

public static String format(String project, String bucket, String notification)
Parameters
NameDescription
projectString
bucketString
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 project, String bucket, String notification)

public static NotificationName of(String project, String bucket, String notification)
Parameters
NameDescription
projectString
bucketString
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

getBucket()

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

getNotification()

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