public class ComponentSettingsName implements ResourceName
Inheritance
Object >
ComponentSettingsName
Implements
com.google.api.resourcenames.ResourceName
Static Methods
public static String format(String organization, String component)
Parameters |
Name |
Description |
organization |
String
|
component |
String
|
Returns |
Type |
Description |
String |
|
public static String formatFolderComponentName(String folder, String component)
Returns |
Type |
Description |
String |
|
public static String formatOrganizationComponentName(String organization, String component)
Parameters |
Name |
Description |
organization |
String
|
component |
String
|
Returns |
Type |
Description |
String |
|
public static String formatProjectComponentName(String project, String component)
Returns |
Type |
Description |
String |
|
public static String formatProjectLocationClusterComponentName(String project, String location, String cluster, String component)
Returns |
Type |
Description |
String |
|
public static String formatProjectRegionClusterComponentName(String project, String region, String cluster, String component)
Returns |
Type |
Description |
String |
|
public static String formatProjectZoneClusterComponentName(String project, String zone, String cluster, String component)
Returns |
Type |
Description |
String |
|
isParsableFrom(String formattedString)
public static boolean isParsableFrom(String formattedString)
Parameter |
Name |
Description |
formattedString |
String
|
newBuilder()
public static ComponentSettingsName.Builder newBuilder()
newFolderComponentBuilder()
public static ComponentSettingsName.FolderComponentBuilder newFolderComponentBuilder()
newOrganizationComponentBuilder()
public static ComponentSettingsName.Builder newOrganizationComponentBuilder()
newProjectComponentBuilder()
public static ComponentSettingsName.ProjectComponentBuilder newProjectComponentBuilder()
newProjectLocationClusterComponentBuilder()
public static ComponentSettingsName.ProjectLocationClusterComponentBuilder newProjectLocationClusterComponentBuilder()
newProjectRegionClusterComponentBuilder()
public static ComponentSettingsName.ProjectRegionClusterComponentBuilder newProjectRegionClusterComponentBuilder()
newProjectZoneClusterComponentBuilder()
public static ComponentSettingsName.ProjectZoneClusterComponentBuilder newProjectZoneClusterComponentBuilder()
of(String organization, String component)
public static ComponentSettingsName of(String organization, String component)
Parameters |
Name |
Description |
organization |
String
|
component |
String
|
ofFolderComponentName(String folder, String component)
public static ComponentSettingsName ofFolderComponentName(String folder, String component)
ofOrganizationComponentName(String organization, String component)
public static ComponentSettingsName ofOrganizationComponentName(String organization, String component)
Parameters |
Name |
Description |
organization |
String
|
component |
String
|
ofProjectComponentName(String project, String component)
public static ComponentSettingsName ofProjectComponentName(String project, String component)
ofProjectLocationClusterComponentName(String project, String location, String cluster, String component)
public static ComponentSettingsName ofProjectLocationClusterComponentName(String project, String location, String cluster, String component)
ofProjectRegionClusterComponentName(String project, String region, String cluster, String component)
public static ComponentSettingsName ofProjectRegionClusterComponentName(String project, String region, String cluster, String component)
ofProjectZoneClusterComponentName(String project, String zone, String cluster, String component)
public static ComponentSettingsName ofProjectZoneClusterComponentName(String project, String zone, String cluster, String component)
parse(String formattedString)
public static ComponentSettingsName parse(String formattedString)
Parameter |
Name |
Description |
formattedString |
String
|
parseList(List<String> formattedStrings)
public static List<ComponentSettingsName> parseList(List<String> formattedStrings)
Parameter |
Name |
Description |
formattedStrings |
List<String>
|
toStringList(List<ComponentSettingsName> values)
public static List<String> toStringList(List<ComponentSettingsName> values)
Constructors
ComponentSettingsName() (deprecated)
protected ComponentSettingsName()
Methods
equals(Object o)
public boolean equals(Object o)
Parameter |
Name |
Description |
o |
Object
|
Overrides
getCluster()
public String getCluster()
Returns |
Type |
Description |
String |
|
getComponent()
public String getComponent()
Returns |
Type |
Description |
String |
|
getFieldValue(String fieldName)
public String getFieldValue(String fieldName)
Parameter |
Name |
Description |
fieldName |
String
|
Returns |
Type |
Description |
String |
|
getFieldValuesMap()
public Map<String,String> getFieldValuesMap()
getFolder()
public String getFolder()
Returns |
Type |
Description |
String |
|
getLocation()
public String getLocation()
Returns |
Type |
Description |
String |
|
getOrganization()
public String getOrganization()
Returns |
Type |
Description |
String |
|
getProject()
public String getProject()
Returns |
Type |
Description |
String |
|
getRegion()
public String getRegion()
Returns |
Type |
Description |
String |
|
getZone()
Returns |
Type |
Description |
String |
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
toBuilder()
public ComponentSettingsName.Builder toBuilder()
toString()
Returns |
Type |
Description |
String |
|
Overrides