Class FindingName (2.9.0)

public class FindingName implements ResourceName

Inheritance

Object > FindingName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String scanConfig, String scanRun, String finding)

public static String format(String project, String scanConfig, String scanRun, String finding)
Parameters
NameDescription
projectString
scanConfigString
scanRunString
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

of(String project, String scanConfig, String scanRun, String finding)

public static FindingName of(String project, String scanConfig, String scanRun, String finding)
Parameters
NameDescription
projectString
scanConfigString
scanRunString
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

getProject()

public String getProject()
Returns
TypeDescription
String

getScanConfig()

public String getScanConfig()
Returns
TypeDescription
String

getScanRun()

public String getScanRun()
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