Class SettingsName
- java.lang.Object
-
- com.google.cloud.securitycenter.settings.v1beta1.SettingsName
-
- All Implemented Interfaces:
com.google.api.resourcenames.ResourceName
@Generated("by gapic-generator-java") public class SettingsName extends Object implements com.google.api.resourcenames.ResourceName
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SettingsName.Builder
Builder for organizations/{organization}/settings.static class
SettingsName.FolderBuilder
Builder for folders/{folder}/settings.static class
SettingsName.ProjectBuilder
Builder for projects/{project}/settings.static class
SettingsName.ProjectLocationClusterBuilder
Builder for projects/{project}/locations/{location}/clusters/{cluster}/settings.static class
SettingsName.ProjectRegionClusterBuilder
Builder for projects/{project}/regions/{region}/clusters/{cluster}/settings.static class
SettingsName.ProjectZoneClusterBuilder
Builder for projects/{project}/zones/{zone}/clusters/{cluster}/settings.
-
Constructor Summary
Constructors Modifier Constructor Description protected
SettingsName()
Deprecated.
-
Method Summary
-
-
-
Constructor Detail
-
SettingsName
@Deprecated protected SettingsName()
Deprecated.
-
-
Method Detail
-
getOrganization
public String getOrganization()
-
getFolder
public String getFolder()
-
getProject
public String getProject()
-
getLocation
public String getLocation()
-
getCluster
public String getCluster()
-
getRegion
public String getRegion()
-
getZone
public String getZone()
-
newBuilder
public static SettingsName.Builder newBuilder()
-
newOrganizationBuilder
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static SettingsName.Builder newOrganizationBuilder()
-
newFolderBuilder
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static SettingsName.FolderBuilder newFolderBuilder()
-
newProjectBuilder
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static SettingsName.ProjectBuilder newProjectBuilder()
-
newProjectLocationClusterBuilder
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static SettingsName.ProjectLocationClusterBuilder newProjectLocationClusterBuilder()
-
newProjectRegionClusterBuilder
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static SettingsName.ProjectRegionClusterBuilder newProjectRegionClusterBuilder()
-
newProjectZoneClusterBuilder
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static SettingsName.ProjectZoneClusterBuilder newProjectZoneClusterBuilder()
-
toBuilder
public SettingsName.Builder toBuilder()
-
of
public static SettingsName of(String organization)
-
ofOrganizationName
@BetaApi("The static create methods are not stable yet and may be changed in the future.") public static SettingsName ofOrganizationName(String organization)
-
ofFolderName
@BetaApi("The static create methods are not stable yet and may be changed in the future.") public static SettingsName ofFolderName(String folder)
-
ofProjectName
@BetaApi("The static create methods are not stable yet and may be changed in the future.") public static SettingsName ofProjectName(String project)
-
ofProjectLocationClusterName
@BetaApi("The static create methods are not stable yet and may be changed in the future.") public static SettingsName ofProjectLocationClusterName(String project, String location, String cluster)
-
ofProjectRegionClusterName
@BetaApi("The static create methods are not stable yet and may be changed in the future.") public static SettingsName ofProjectRegionClusterName(String project, String region, String cluster)
-
ofProjectZoneClusterName
@BetaApi("The static create methods are not stable yet and may be changed in the future.") public static SettingsName ofProjectZoneClusterName(String project, String zone, String cluster)
-
formatOrganizationName
@BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatOrganizationName(String organization)
-
formatFolderName
@BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatFolderName(String folder)
-
formatProjectName
@BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatProjectName(String project)
-
formatProjectLocationClusterName
@BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatProjectLocationClusterName(String project, String location, String cluster)
-
formatProjectRegionClusterName
@BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatProjectRegionClusterName(String project, String region, String cluster)
-
formatProjectZoneClusterName
@BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatProjectZoneClusterName(String project, String zone, String cluster)
-
parse
public static SettingsName parse(String formattedString)
-
parseList
public static List<SettingsName> parseList(List<String> formattedStrings)
-
toStringList
public static List<String> toStringList(List<SettingsName> 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
-
-