public class FindingName implements ResourceName
Inheritance
Object >
FindingName
Implements
com.google.api.resourcenames.ResourceName
Static Methods
public static String format(String organization, String source, String finding)
public static String formatFolderSourceFindingName(String folder, String source, String finding)
public static String formatFolderSourceLocationFindingName(String folder, String source, String location, String finding)
public static String formatOrganizationSourceFindingName(String organization, String source, String finding)
public static String formatOrganizationSourceLocationFindingName(String organization, String source, String location, String finding)
public static String formatProjectSourceFindingName(String project, String source, String finding)
public static String formatProjectSourceLocationFindingName(String project, String source, String location, String finding)
isParsableFrom(String formattedString)
public static boolean isParsableFrom(String formattedString)
Parameter |
---|
Name | Description |
formattedString | String
|
newBuilder()
public static FindingName.Builder newBuilder()
newFolderSourceFindingBuilder()
public static FindingName.FolderSourceFindingBuilder newFolderSourceFindingBuilder()
newFolderSourceLocationFindingBuilder()
public static FindingName.FolderSourceLocationFindingBuilder newFolderSourceLocationFindingBuilder()
newOrganizationSourceFindingBuilder()
public static FindingName.Builder newOrganizationSourceFindingBuilder()
newOrganizationSourceLocationFindingBuilder()
public static FindingName.OrganizationSourceLocationFindingBuilder newOrganizationSourceLocationFindingBuilder()
newProjectSourceFindingBuilder()
public static FindingName.ProjectSourceFindingBuilder newProjectSourceFindingBuilder()
newProjectSourceLocationFindingBuilder()
public static FindingName.ProjectSourceLocationFindingBuilder newProjectSourceLocationFindingBuilder()
of(String organization, String source, String finding)
public static FindingName of(String organization, String source, String finding)
ofFolderSourceFindingName(String folder, String source, String finding)
public static FindingName ofFolderSourceFindingName(String folder, String source, String finding)
ofFolderSourceLocationFindingName(String folder, String source, String location, String finding)
public static FindingName ofFolderSourceLocationFindingName(String folder, String source, String location, String finding)
ofOrganizationSourceFindingName(String organization, String source, String finding)
public static FindingName ofOrganizationSourceFindingName(String organization, String source, String finding)
ofOrganizationSourceLocationFindingName(String organization, String source, String location, String finding)
public static FindingName ofOrganizationSourceLocationFindingName(String organization, String source, String location, String finding)
ofProjectSourceFindingName(String project, String source, String finding)
public static FindingName ofProjectSourceFindingName(String project, String source, String finding)
ofProjectSourceLocationFindingName(String project, String source, String location, String finding)
public static FindingName ofProjectSourceLocationFindingName(String project, String source, String location, String finding)
parse(String formattedString)
public static FindingName parse(String formattedString)
Parameter |
---|
Name | Description |
formattedString | String
|
parseList(List<String> formattedStrings)
public static List<FindingName> parseList(List<String> formattedStrings)
Parameter |
---|
Name | Description |
formattedStrings | List<String>
|
toStringList(List<FindingName> values)
public static List<String> toStringList(List<FindingName> values)
Constructors
FindingName() (deprecated)
Methods
equals(Object o)
public boolean equals(Object o)
Parameter |
---|
Name | Description |
o | Object
|
Overrides
getFieldValue(String fieldName)
public String getFieldValue(String fieldName)
Parameter |
---|
Name | Description |
fieldName | String
|
getFieldValuesMap()
public Map<String,String> getFieldValuesMap()
getFinding()
public String getFinding()
getFolder()
public String getFolder()
getLocation()
public String getLocation()
getOrganization()
public String getOrganization()
getProject()
public String getProject()
getSource()
public String getSource()
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
toBuilder()
public FindingName.Builder toBuilder()
toString()
Overrides