Class FindingName (2.9.0)

public class FindingName implements ResourceName

Inheritance

Object > FindingName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String organization, String source, String finding)

public static String format(String organization, String source, String finding)
Parameters
NameDescription
organizationString
sourceString
findingString
Returns
TypeDescription
String

formatFolderSourceFindingName(String folder, String source, String finding)

public static String formatFolderSourceFindingName(String folder, String source, String finding)
Parameters
NameDescription
folderString
sourceString
findingString
Returns
TypeDescription
String

formatOrganizationSourceFindingName(String organization, String source, String finding)

public static String formatOrganizationSourceFindingName(String organization, String source, String finding)
Parameters
NameDescription
organizationString
sourceString
findingString
Returns
TypeDescription
String

formatProjectSourceFindingName(String project, String source, String finding)

public static String formatProjectSourceFindingName(String project, String source, String finding)
Parameters
NameDescription
projectString
sourceString
findingString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

newFolderSourceFindingBuilder()

public static FindingName.FolderSourceFindingBuilder newFolderSourceFindingBuilder()
Returns
TypeDescription
FindingName.FolderSourceFindingBuilder

newOrganizationSourceFindingBuilder()

public static FindingName.Builder newOrganizationSourceFindingBuilder()
Returns
TypeDescription
FindingName.Builder

newProjectSourceFindingBuilder()

public static FindingName.ProjectSourceFindingBuilder newProjectSourceFindingBuilder()
Returns
TypeDescription
FindingName.ProjectSourceFindingBuilder

of(String organization, String source, String finding)

public static FindingName of(String organization, String source, String finding)
Parameters
NameDescription
organizationString
sourceString
findingString
Returns
TypeDescription
FindingName

ofFolderSourceFindingName(String folder, String source, String finding)

public static FindingName ofFolderSourceFindingName(String folder, String source, String finding)
Parameters
NameDescription
folderString
sourceString
findingString
Returns
TypeDescription
FindingName

ofOrganizationSourceFindingName(String organization, String source, String finding)

public static FindingName ofOrganizationSourceFindingName(String organization, String source, String finding)
Parameters
NameDescription
organizationString
sourceString
findingString
Returns
TypeDescription
FindingName

ofProjectSourceFindingName(String project, String source, String finding)

public static FindingName ofProjectSourceFindingName(String project, String source, String finding)
Parameters
NameDescription
projectString
sourceString
findingString
Returns
TypeDescription
FindingName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<FindingName> values)

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

Constructors

FindingName()

protected FindingName()

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>

getFinding()

public String getFinding()
Returns
TypeDescription
String

getFolder()

public String getFolder()
Returns
TypeDescription
String

getOrganization()

public String getOrganization()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

getSource()

public String getSource()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

public FindingName.Builder toBuilder()
Returns
TypeDescription
FindingName.Builder

toString()

public String toString()
Returns
TypeDescription
String
Overrides