@Generated(value="by gapic-generator-java") public class FindingName extends Object implements com.google.api.resourcenames.ResourceName
Modifier and Type | Class and 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}.
|
Modifier | Constructor and Description |
---|---|
protected |
FindingName()
Deprecated.
|
@Deprecated protected FindingName()
public String getOrganization()
public String getSource()
public String getFinding()
public String getFolder()
public String getProject()
public static FindingName.Builder newBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static FindingName.Builder newOrganizationSourceFindingBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static FindingName.FolderSourceFindingBuilder newFolderSourceFindingBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static FindingName.ProjectSourceFindingBuilder newProjectSourceFindingBuilder()
public FindingName.Builder toBuilder()
public static FindingName of(String organization, String source, String finding)
@BetaApi(value="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)
@BetaApi(value="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)
@BetaApi(value="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)
@BetaApi(value="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)
@BetaApi(value="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)
@BetaApi(value="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)
public static FindingName parse(String formattedString)
public static List<FindingName> parseList(List<String> formattedStrings)
public static List<String> toStringList(List<FindingName> values)
public static boolean isParsableFrom(String formattedString)
public Map<String,String> getFieldValuesMap()
getFieldValuesMap
in interface com.google.api.resourcenames.ResourceName
public String getFieldValue(String fieldName)
getFieldValue
in interface com.google.api.resourcenames.ResourceName
Copyright © 2022 Google LLC. All rights reserved.