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 formatOrganizationSourceFindingName(String organization, String source, String finding)
public static String formatProjectSourceFindingName(String project, String source, 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()
newOrganizationSourceFindingBuilder()
public static FindingName.Builder newOrganizationSourceFindingBuilder()
newProjectSourceFindingBuilder()
public static FindingName.ProjectSourceFindingBuilder newProjectSourceFindingBuilder()
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)
ofOrganizationSourceFindingName(String organization, String source, String finding)
public static FindingName ofOrganizationSourceFindingName(String organization, String source, String finding)
ofProjectSourceFindingName(String project, String source, String finding)
public static FindingName ofProjectSourceFindingName(String project, String source, 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()
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