Class FindingName (2.51.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
Name Description
organization String
source String
finding String
Returns
Type Description
String

formatFolderSourceFindingName(String folder, String source, String finding)

public static String formatFolderSourceFindingName(String folder, String source, String finding)
Parameters
Name Description
folder String
source String
finding String
Returns
Type Description
String

formatFolderSourceLocationFindingName(String folder, String source, String location, String finding)

public static String formatFolderSourceLocationFindingName(String folder, String source, String location, String finding)
Parameters
Name Description
folder String
source String
location String
finding String
Returns
Type Description
String

formatOrganizationSourceFindingName(String organization, String source, String finding)

public static String formatOrganizationSourceFindingName(String organization, String source, String finding)
Parameters
Name Description
organization String
source String
finding String
Returns
Type Description
String

formatOrganizationSourceLocationFindingName(String organization, String source, String location, String finding)

public static String formatOrganizationSourceLocationFindingName(String organization, String source, String location, String finding)
Parameters
Name Description
organization String
source String
location String
finding String
Returns
Type Description
String

formatProjectSourceFindingName(String project, String source, String finding)

public static String formatProjectSourceFindingName(String project, String source, String finding)
Parameters
Name Description
project String
source String
finding String
Returns
Type Description
String

formatProjectSourceLocationFindingName(String project, String source, String location, String finding)

public static String formatProjectSourceLocationFindingName(String project, String source, String location, String finding)
Parameters
Name Description
project String
source String
location String
finding 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 FindingName.Builder newBuilder()
Returns
Type Description
FindingName.Builder

newFolderSourceFindingBuilder()

public static FindingName.FolderSourceFindingBuilder newFolderSourceFindingBuilder()
Returns
Type Description
FindingName.FolderSourceFindingBuilder

newFolderSourceLocationFindingBuilder()

public static FindingName.FolderSourceLocationFindingBuilder newFolderSourceLocationFindingBuilder()
Returns
Type Description
FindingName.FolderSourceLocationFindingBuilder

newOrganizationSourceFindingBuilder()

public static FindingName.Builder newOrganizationSourceFindingBuilder()
Returns
Type Description
FindingName.Builder

newOrganizationSourceLocationFindingBuilder()

public static FindingName.OrganizationSourceLocationFindingBuilder newOrganizationSourceLocationFindingBuilder()
Returns
Type Description
FindingName.OrganizationSourceLocationFindingBuilder

newProjectSourceFindingBuilder()

public static FindingName.ProjectSourceFindingBuilder newProjectSourceFindingBuilder()
Returns
Type Description
FindingName.ProjectSourceFindingBuilder

newProjectSourceLocationFindingBuilder()

public static FindingName.ProjectSourceLocationFindingBuilder newProjectSourceLocationFindingBuilder()
Returns
Type Description
FindingName.ProjectSourceLocationFindingBuilder

of(String organization, String source, String finding)

public static FindingName of(String organization, String source, String finding)
Parameters
Name Description
organization String
source String
finding String
Returns
Type Description
FindingName

ofFolderSourceFindingName(String folder, String source, String finding)

public static FindingName ofFolderSourceFindingName(String folder, String source, String finding)
Parameters
Name Description
folder String
source String
finding String
Returns
Type Description
FindingName

ofFolderSourceLocationFindingName(String folder, String source, String location, String finding)

public static FindingName ofFolderSourceLocationFindingName(String folder, String source, String location, String finding)
Parameters
Name Description
folder String
source String
location String
finding String
Returns
Type Description
FindingName

ofOrganizationSourceFindingName(String organization, String source, String finding)

public static FindingName ofOrganizationSourceFindingName(String organization, String source, String finding)
Parameters
Name Description
organization String
source String
finding String
Returns
Type Description
FindingName

ofOrganizationSourceLocationFindingName(String organization, String source, String location, String finding)

public static FindingName ofOrganizationSourceLocationFindingName(String organization, String source, String location, String finding)
Parameters
Name Description
organization String
source String
location String
finding String
Returns
Type Description
FindingName

ofProjectSourceFindingName(String project, String source, String finding)

public static FindingName ofProjectSourceFindingName(String project, String source, String finding)
Parameters
Name Description
project String
source String
finding String
Returns
Type Description
FindingName

ofProjectSourceLocationFindingName(String project, String source, String location, String finding)

public static FindingName ofProjectSourceLocationFindingName(String project, String source, String location, String finding)
Parameters
Name Description
project String
source String
location String
finding String
Returns
Type Description
FindingName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<FindingName> values)

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

Constructors

FindingName() (deprecated)

protected FindingName()

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>

getFinding()

public String getFinding()
Returns
Type Description
String

getFolder()

public String getFolder()
Returns
Type Description
String

getLocation()

public String getLocation()
Returns
Type Description
String

getOrganization()

public String getOrganization()
Returns
Type Description
String

getProject()

public String getProject()
Returns
Type Description
String

getSource()

public String getSource()
Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
Type Description
String
Overrides