Class MonitoredResourceDescriptorName (3.3.6)

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
NameDescription
projectString
monitoredResourceDescriptorString
Returns
TypeDescription
String

formatFolderMonitoredResourceDescriptorName(String folder, String monitoredResourceDescriptor)

public static String formatFolderMonitoredResourceDescriptorName(String folder, String monitoredResourceDescriptor)
Parameters
NameDescription
folderString
monitoredResourceDescriptorString
Returns
TypeDescription
String

formatOrganizationMonitoredResourceDescriptorName(String organization, String monitoredResourceDescriptor)

public static String formatOrganizationMonitoredResourceDescriptorName(String organization, String monitoredResourceDescriptor)
Parameters
NameDescription
organizationString
monitoredResourceDescriptorString
Returns
TypeDescription
String

formatProjectMonitoredResourceDescriptorName(String project, String monitoredResourceDescriptor)

public static String formatProjectMonitoredResourceDescriptorName(String project, String monitoredResourceDescriptor)
Parameters
NameDescription
projectString
monitoredResourceDescriptorString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

newFolderMonitoredResourceDescriptorBuilder()

public static MonitoredResourceDescriptorName.FolderMonitoredResourceDescriptorBuilder newFolderMonitoredResourceDescriptorBuilder()
Returns
TypeDescription
MonitoredResourceDescriptorName.FolderMonitoredResourceDescriptorBuilder

newOrganizationMonitoredResourceDescriptorBuilder()

public static MonitoredResourceDescriptorName.OrganizationMonitoredResourceDescriptorBuilder newOrganizationMonitoredResourceDescriptorBuilder()
Returns
TypeDescription
MonitoredResourceDescriptorName.OrganizationMonitoredResourceDescriptorBuilder

newProjectMonitoredResourceDescriptorBuilder()

public static MonitoredResourceDescriptorName.Builder newProjectMonitoredResourceDescriptorBuilder()
Returns
TypeDescription
MonitoredResourceDescriptorName.Builder

of(String project, String monitoredResourceDescriptor)

public static MonitoredResourceDescriptorName of(String project, String monitoredResourceDescriptor)
Parameters
NameDescription
projectString
monitoredResourceDescriptorString
Returns
TypeDescription
MonitoredResourceDescriptorName

ofFolderMonitoredResourceDescriptorName(String folder, String monitoredResourceDescriptor)

public static MonitoredResourceDescriptorName ofFolderMonitoredResourceDescriptorName(String folder, String monitoredResourceDescriptor)
Parameters
NameDescription
folderString
monitoredResourceDescriptorString
Returns
TypeDescription
MonitoredResourceDescriptorName

ofOrganizationMonitoredResourceDescriptorName(String organization, String monitoredResourceDescriptor)

public static MonitoredResourceDescriptorName ofOrganizationMonitoredResourceDescriptorName(String organization, String monitoredResourceDescriptor)
Parameters
NameDescription
organizationString
monitoredResourceDescriptorString
Returns
TypeDescription
MonitoredResourceDescriptorName

ofProjectMonitoredResourceDescriptorName(String project, String monitoredResourceDescriptor)

public static MonitoredResourceDescriptorName ofProjectMonitoredResourceDescriptorName(String project, String monitoredResourceDescriptor)
Parameters
NameDescription
projectString
monitoredResourceDescriptorString
Returns
TypeDescription
MonitoredResourceDescriptorName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<MonitoredResourceDescriptorName> values)

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

Constructors

MonitoredResourceDescriptorName()

protected MonitoredResourceDescriptorName()

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

getMonitoredResourceDescriptor()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides