Class MonitoredResourceDescriptorName (3.43.0)

public class MonitoredResourceDescriptorName implements ResourceName

Inheritance

Object > MonitoredResourceDescriptorName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String monitoredResourceDescriptor)

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

formatFolderMonitoredResourceDescriptorName(String folder, String monitoredResourceDescriptor)

public static String formatFolderMonitoredResourceDescriptorName(String folder, String monitoredResourceDescriptor)
Parameters
Name Description
folder String
monitoredResourceDescriptor String
Returns
Type Description
String

formatOrganizationMonitoredResourceDescriptorName(String organization, String monitoredResourceDescriptor)

public static String formatOrganizationMonitoredResourceDescriptorName(String organization, String monitoredResourceDescriptor)
Parameters
Name Description
organization String
monitoredResourceDescriptor String
Returns
Type Description
String

formatProjectMonitoredResourceDescriptorName(String project, String monitoredResourceDescriptor)

public static String formatProjectMonitoredResourceDescriptorName(String project, String monitoredResourceDescriptor)
Parameters
Name Description
project String
monitoredResourceDescriptor 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 MonitoredResourceDescriptorName.Builder newBuilder()
Returns
Type Description
MonitoredResourceDescriptorName.Builder

newFolderMonitoredResourceDescriptorBuilder()

public static MonitoredResourceDescriptorName.FolderMonitoredResourceDescriptorBuilder newFolderMonitoredResourceDescriptorBuilder()
Returns
Type Description
MonitoredResourceDescriptorName.FolderMonitoredResourceDescriptorBuilder

newOrganizationMonitoredResourceDescriptorBuilder()

public static MonitoredResourceDescriptorName.OrganizationMonitoredResourceDescriptorBuilder newOrganizationMonitoredResourceDescriptorBuilder()
Returns
Type Description
MonitoredResourceDescriptorName.OrganizationMonitoredResourceDescriptorBuilder

newProjectMonitoredResourceDescriptorBuilder()

public static MonitoredResourceDescriptorName.Builder newProjectMonitoredResourceDescriptorBuilder()
Returns
Type Description
MonitoredResourceDescriptorName.Builder

of(String project, String monitoredResourceDescriptor)

public static MonitoredResourceDescriptorName of(String project, String monitoredResourceDescriptor)
Parameters
Name Description
project String
monitoredResourceDescriptor String
Returns
Type Description
MonitoredResourceDescriptorName

ofFolderMonitoredResourceDescriptorName(String folder, String monitoredResourceDescriptor)

public static MonitoredResourceDescriptorName ofFolderMonitoredResourceDescriptorName(String folder, String monitoredResourceDescriptor)
Parameters
Name Description
folder String
monitoredResourceDescriptor String
Returns
Type Description
MonitoredResourceDescriptorName

ofOrganizationMonitoredResourceDescriptorName(String organization, String monitoredResourceDescriptor)

public static MonitoredResourceDescriptorName ofOrganizationMonitoredResourceDescriptorName(String organization, String monitoredResourceDescriptor)
Parameters
Name Description
organization String
monitoredResourceDescriptor String
Returns
Type Description
MonitoredResourceDescriptorName

ofProjectMonitoredResourceDescriptorName(String project, String monitoredResourceDescriptor)

public static MonitoredResourceDescriptorName ofProjectMonitoredResourceDescriptorName(String project, String monitoredResourceDescriptor)
Parameters
Name Description
project String
monitoredResourceDescriptor String
Returns
Type Description
MonitoredResourceDescriptorName

parse(String formattedString)

public static MonitoredResourceDescriptorName parse(String formattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
MonitoredResourceDescriptorName

parseList(List<String> formattedStrings)

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

toStringList(List<MonitoredResourceDescriptorName> values)

public static List<String> toStringList(List<MonitoredResourceDescriptorName> values)
Parameter
Name Description
values List<MonitoredResourceDescriptorName>
Returns
Type Description
List<String>

Constructors

MonitoredResourceDescriptorName() (deprecated)

protected MonitoredResourceDescriptorName()

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
Name Description
o Object
Returns
Type Description
boolean
Overrides

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>

getFolder()

public String getFolder()
Returns
Type Description
String

getMonitoredResourceDescriptor()

public String getMonitoredResourceDescriptor()
Returns
Type Description
String

getOrganization()

public String getOrganization()
Returns
Type Description
String

getProject()

public String getProject()
Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
Type Description
String
Overrides