Class ComponentSettingsName (0.51.0)

public class ComponentSettingsName implements ResourceName

Inheritance

Object > ComponentSettingsName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String organization, String component)

public static String format(String organization, String component)
Parameters
Name Description
organization String
component String
Returns
Type Description
String

formatFolderComponentName(String folder, String component)

public static String formatFolderComponentName(String folder, String component)
Parameters
Name Description
folder String
component String
Returns
Type Description
String

formatOrganizationComponentName(String organization, String component)

public static String formatOrganizationComponentName(String organization, String component)
Parameters
Name Description
organization String
component String
Returns
Type Description
String

formatProjectComponentName(String project, String component)

public static String formatProjectComponentName(String project, String component)
Parameters
Name Description
project String
component String
Returns
Type Description
String

formatProjectLocationClusterComponentName(String project, String location, String cluster, String component)

public static String formatProjectLocationClusterComponentName(String project, String location, String cluster, String component)
Parameters
Name Description
project String
location String
cluster String
component String
Returns
Type Description
String

formatProjectRegionClusterComponentName(String project, String region, String cluster, String component)

public static String formatProjectRegionClusterComponentName(String project, String region, String cluster, String component)
Parameters
Name Description
project String
region String
cluster String
component String
Returns
Type Description
String

formatProjectZoneClusterComponentName(String project, String zone, String cluster, String component)

public static String formatProjectZoneClusterComponentName(String project, String zone, String cluster, String component)
Parameters
Name Description
project String
zone String
cluster String
component String
Returns
Type Description
String

isParsableFrom(String formattedString)

public static boolean isParsableFrom(String formattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
boolean

newBuilder()

public static ComponentSettingsName.Builder newBuilder()
Returns
Type Description
ComponentSettingsName.Builder

newFolderComponentBuilder()

public static ComponentSettingsName.FolderComponentBuilder newFolderComponentBuilder()
Returns
Type Description
ComponentSettingsName.FolderComponentBuilder

newOrganizationComponentBuilder()

public static ComponentSettingsName.Builder newOrganizationComponentBuilder()
Returns
Type Description
ComponentSettingsName.Builder

newProjectComponentBuilder()

public static ComponentSettingsName.ProjectComponentBuilder newProjectComponentBuilder()
Returns
Type Description
ComponentSettingsName.ProjectComponentBuilder

newProjectLocationClusterComponentBuilder()

public static ComponentSettingsName.ProjectLocationClusterComponentBuilder newProjectLocationClusterComponentBuilder()
Returns
Type Description
ComponentSettingsName.ProjectLocationClusterComponentBuilder

newProjectRegionClusterComponentBuilder()

public static ComponentSettingsName.ProjectRegionClusterComponentBuilder newProjectRegionClusterComponentBuilder()
Returns
Type Description
ComponentSettingsName.ProjectRegionClusterComponentBuilder

newProjectZoneClusterComponentBuilder()

public static ComponentSettingsName.ProjectZoneClusterComponentBuilder newProjectZoneClusterComponentBuilder()
Returns
Type Description
ComponentSettingsName.ProjectZoneClusterComponentBuilder

of(String organization, String component)

public static ComponentSettingsName of(String organization, String component)
Parameters
Name Description
organization String
component String
Returns
Type Description
ComponentSettingsName

ofFolderComponentName(String folder, String component)

public static ComponentSettingsName ofFolderComponentName(String folder, String component)
Parameters
Name Description
folder String
component String
Returns
Type Description
ComponentSettingsName

ofOrganizationComponentName(String organization, String component)

public static ComponentSettingsName ofOrganizationComponentName(String organization, String component)
Parameters
Name Description
organization String
component String
Returns
Type Description
ComponentSettingsName

ofProjectComponentName(String project, String component)

public static ComponentSettingsName ofProjectComponentName(String project, String component)
Parameters
Name Description
project String
component String
Returns
Type Description
ComponentSettingsName

ofProjectLocationClusterComponentName(String project, String location, String cluster, String component)

public static ComponentSettingsName ofProjectLocationClusterComponentName(String project, String location, String cluster, String component)
Parameters
Name Description
project String
location String
cluster String
component String
Returns
Type Description
ComponentSettingsName

ofProjectRegionClusterComponentName(String project, String region, String cluster, String component)

public static ComponentSettingsName ofProjectRegionClusterComponentName(String project, String region, String cluster, String component)
Parameters
Name Description
project String
region String
cluster String
component String
Returns
Type Description
ComponentSettingsName

ofProjectZoneClusterComponentName(String project, String zone, String cluster, String component)

public static ComponentSettingsName ofProjectZoneClusterComponentName(String project, String zone, String cluster, String component)
Parameters
Name Description
project String
zone String
cluster String
component String
Returns
Type Description
ComponentSettingsName

parse(String formattedString)

public static ComponentSettingsName parse(String formattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
ComponentSettingsName

parseList(List<String> formattedStrings)

public static List<ComponentSettingsName> parseList(List<String> formattedStrings)
Parameter
Name Description
formattedStrings List<String>
Returns
Type Description
List<ComponentSettingsName>

toStringList(List<ComponentSettingsName> values)

public static List<String> toStringList(List<ComponentSettingsName> values)
Parameter
Name Description
values List<ComponentSettingsName>
Returns
Type Description
List<String>

Constructors

ComponentSettingsName() (deprecated)

protected ComponentSettingsName()

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
Name Description
o Object
Returns
Type Description
boolean
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()
Returns
Type Description
Map<String,String>

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()

public String getZone()
Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toBuilder()

public ComponentSettingsName.Builder toBuilder()
Returns
Type Description
ComponentSettingsName.Builder

toString()

public String toString()
Returns
Type Description
String
Overrides