Class DashboardName (2.97.0)

public class DashboardName implements ResourceName

Inheritance

java.lang.Object > DashboardName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String dashboard)

public static String format(String project, String dashboard)
Parameters
Name Description
project String
dashboard String
Returns
Type Description
String

isParsableFrom(String formattedString)

public static boolean isParsableFrom(String formattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
boolean

newBuilder()

public static DashboardName.Builder newBuilder()
Returns
Type Description
DashboardName.Builder

of(String project, String dashboard)

public static DashboardName of(String project, String dashboard)
Parameters
Name Description
project String
dashboard String
Returns
Type Description
DashboardName

parse(String formattedString)

public static @Nullable DashboardName parse(String formattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
@org.jspecify.annotations.Nullable com.google.monitoring.dashboard.v1.DashboardName

parseList(List<String> formattedStrings)

public static List<DashboardName> parseList(List<String> formattedStrings)
Parameter
Name Description
formattedStrings List<String>
Returns
Type Description
List<DashboardName>

toStringList(List<@Nullable DashboardName> values)

public static List<String> toStringList(List<@Nullable DashboardName> values)
Parameter
Name Description
values List<@org.jspecify.annotations.Nullable com.google.monitoring.dashboard.v1.DashboardName>
Returns
Type Description
List<String>

Constructors

DashboardName() (deprecated)

protected DashboardName()

Methods

equals(@Nullable Object o)

public boolean equals(@Nullable Object o)
Parameter
Name Description
o @org.jspecify.annotations.Nullable java.lang.Object
Returns
Type Description
boolean
Overrides

getDashboard()

public String getDashboard()
Returns
Type Description
String

getFieldValue(String fieldName)

public String getFieldValue(String fieldName)
Parameter
Name Description
fieldName String
Returns
Type Description
String

getFieldValuesMap()

public Map<String,String> getFieldValuesMap()
Returns
Type Description
Map<String,String>

getProject()

public String getProject()
Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toBuilder()

public DashboardName.Builder toBuilder()
Returns
Type Description
DashboardName.Builder

toString()

public String toString()
Returns
Type Description
String
Overrides