Class FindingName
- java.lang.Object
-
- com.google.cloud.securitycenter.v1.FindingName
-
- All Implemented Interfaces:
com.google.api.resourcenames.ResourceName
@Generated("by gapic-generator-java") public class FindingName extends Object implements com.google.api.resourcenames.ResourceName
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FindingName.Builder
Builder for organizations/{organization}/sources/{source}/findings/{finding}.static class
FindingName.FolderSourceFindingBuilder
Builder for folders/{folder}/sources/{source}/findings/{finding}.static class
FindingName.ProjectSourceFindingBuilder
Builder for projects/{project}/sources/{source}/findings/{finding}.
-
Constructor Summary
Constructors Modifier Constructor Description protected
FindingName()
Deprecated.
-
Method Summary
-
-
-
Constructor Detail
-
FindingName
@Deprecated protected FindingName()
Deprecated.
-
-
Method Detail
-
getOrganization
public String getOrganization()
-
getSource
public String getSource()
-
getFinding
public String getFinding()
-
getFolder
public String getFolder()
-
getProject
public String getProject()
-
newBuilder
public static FindingName.Builder newBuilder()
-
newOrganizationSourceFindingBuilder
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static FindingName.Builder newOrganizationSourceFindingBuilder()
-
newFolderSourceFindingBuilder
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static FindingName.FolderSourceFindingBuilder newFolderSourceFindingBuilder()
-
newProjectSourceFindingBuilder
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static FindingName.ProjectSourceFindingBuilder newProjectSourceFindingBuilder()
-
toBuilder
public FindingName.Builder toBuilder()
-
of
public static FindingName of(String organization, String source, String finding)
-
ofOrganizationSourceFindingName
@BetaApi("The static create methods are not stable yet and may be changed in the future.") public static FindingName ofOrganizationSourceFindingName(String organization, String source, String finding)
-
ofFolderSourceFindingName
@BetaApi("The static create methods are not stable yet and may be changed in the future.") public static FindingName ofFolderSourceFindingName(String folder, String source, String finding)
-
ofProjectSourceFindingName
@BetaApi("The static create methods are not stable yet and may be changed in the future.") public static FindingName ofProjectSourceFindingName(String project, String source, String finding)
-
formatOrganizationSourceFindingName
@BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatOrganizationSourceFindingName(String organization, String source, String finding)
-
formatFolderSourceFindingName
@BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatFolderSourceFindingName(String folder, String source, String finding)
-
formatProjectSourceFindingName
@BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatProjectSourceFindingName(String project, String source, String finding)
-
parse
public static FindingName parse(String formattedString)
-
parseList
public static List<FindingName> parseList(List<String> formattedStrings)
-
toStringList
public static List<String> toStringList(List<FindingName> values)
-
isParsableFrom
public static boolean isParsableFrom(String formattedString)
-
getFieldValuesMap
public Map<String,String> getFieldValuesMap()
- Specified by:
getFieldValuesMap
in interfacecom.google.api.resourcenames.ResourceName
-
getFieldValue
public String getFieldValue(String fieldName)
- Specified by:
getFieldValue
in interfacecom.google.api.resourcenames.ResourceName
-
-