Class DashboardName (2.18.0)

public class DashboardName implements ResourceName

Inheritance

Object > DashboardName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String dashboard)

public static String format(String project, String dashboard)
Parameters
NameDescription
projectString
dashboardString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String dashboard)

public static DashboardName of(String project, String dashboard)
Parameters
NameDescription
projectString
dashboardString
Returns
TypeDescription
DashboardName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<DashboardName> values)

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

Constructors

DashboardName()

protected DashboardName()

Methods

equals(Object o)

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

getDashboard()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides