Class ComponentSettingsName (0.26.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
NameDescription
organizationString
componentString
Returns
TypeDescription
String

formatFolderComponentName(String folder, String component)

public static String formatFolderComponentName(String folder, String component)
Parameters
NameDescription
folderString
componentString
Returns
TypeDescription
String

formatOrganizationComponentName(String organization, String component)

public static String formatOrganizationComponentName(String organization, String component)
Parameters
NameDescription
organizationString
componentString
Returns
TypeDescription
String

formatProjectComponentName(String project, String component)

public static String formatProjectComponentName(String project, String component)
Parameters
NameDescription
projectString
componentString
Returns
TypeDescription
String

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

public static String formatProjectLocationClusterComponentName(String project, String location, String cluster, String component)
Parameters
NameDescription
projectString
locationString
clusterString
componentString
Returns
TypeDescription
String

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

public static String formatProjectRegionClusterComponentName(String project, String region, String cluster, String component)
Parameters
NameDescription
projectString
regionString
clusterString
componentString
Returns
TypeDescription
String

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

public static String formatProjectZoneClusterComponentName(String project, String zone, String cluster, String component)
Parameters
NameDescription
projectString
zoneString
clusterString
componentString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

public static boolean isParsableFrom(String formattedString)
Parameter
NameDescription
formattedStringString
Returns
TypeDescription
boolean

newBuilder()

public static ComponentSettingsName.Builder newBuilder()
Returns
TypeDescription
ComponentSettingsName.Builder

newFolderComponentBuilder()

public static ComponentSettingsName.FolderComponentBuilder newFolderComponentBuilder()
Returns
TypeDescription
ComponentSettingsName.FolderComponentBuilder

newOrganizationComponentBuilder()

public static ComponentSettingsName.Builder newOrganizationComponentBuilder()
Returns
TypeDescription
ComponentSettingsName.Builder

newProjectComponentBuilder()

public static ComponentSettingsName.ProjectComponentBuilder newProjectComponentBuilder()
Returns
TypeDescription
ComponentSettingsName.ProjectComponentBuilder

newProjectLocationClusterComponentBuilder()

public static ComponentSettingsName.ProjectLocationClusterComponentBuilder newProjectLocationClusterComponentBuilder()
Returns
TypeDescription
ComponentSettingsName.ProjectLocationClusterComponentBuilder

newProjectRegionClusterComponentBuilder()

public static ComponentSettingsName.ProjectRegionClusterComponentBuilder newProjectRegionClusterComponentBuilder()
Returns
TypeDescription
ComponentSettingsName.ProjectRegionClusterComponentBuilder

newProjectZoneClusterComponentBuilder()

public static ComponentSettingsName.ProjectZoneClusterComponentBuilder newProjectZoneClusterComponentBuilder()
Returns
TypeDescription
ComponentSettingsName.ProjectZoneClusterComponentBuilder

of(String organization, String component)

public static ComponentSettingsName of(String organization, String component)
Parameters
NameDescription
organizationString
componentString
Returns
TypeDescription
ComponentSettingsName

ofFolderComponentName(String folder, String component)

public static ComponentSettingsName ofFolderComponentName(String folder, String component)
Parameters
NameDescription
folderString
componentString
Returns
TypeDescription
ComponentSettingsName

ofOrganizationComponentName(String organization, String component)

public static ComponentSettingsName ofOrganizationComponentName(String organization, String component)
Parameters
NameDescription
organizationString
componentString
Returns
TypeDescription
ComponentSettingsName

ofProjectComponentName(String project, String component)

public static ComponentSettingsName ofProjectComponentName(String project, String component)
Parameters
NameDescription
projectString
componentString
Returns
TypeDescription
ComponentSettingsName

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

public static ComponentSettingsName ofProjectLocationClusterComponentName(String project, String location, String cluster, String component)
Parameters
NameDescription
projectString
locationString
clusterString
componentString
Returns
TypeDescription
ComponentSettingsName

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

public static ComponentSettingsName ofProjectRegionClusterComponentName(String project, String region, String cluster, String component)
Parameters
NameDescription
projectString
regionString
clusterString
componentString
Returns
TypeDescription
ComponentSettingsName

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

public static ComponentSettingsName ofProjectZoneClusterComponentName(String project, String zone, String cluster, String component)
Parameters
NameDescription
projectString
zoneString
clusterString
componentString
Returns
TypeDescription
ComponentSettingsName

parse(String formattedString)

public static ComponentSettingsName parse(String formattedString)
Parameter
NameDescription
formattedStringString
Returns
TypeDescription
ComponentSettingsName

parseList(List<String> formattedStrings)

public static List<ComponentSettingsName> parseList(List<String> formattedStrings)
Parameter
NameDescription
formattedStringsList<String>
Returns
TypeDescription
List<ComponentSettingsName>

toStringList(List<ComponentSettingsName> values)

public static List<String> toStringList(List<ComponentSettingsName> values)
Parameter
NameDescription
valuesList<ComponentSettingsName>
Returns
TypeDescription
List<String>

Constructors

ComponentSettingsName()

protected ComponentSettingsName()

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
NameDescription
oObject
Returns
TypeDescription
boolean
Overrides

getCluster()

public String getCluster()
Returns
TypeDescription
String

getComponent()

public String getComponent()
Returns
TypeDescription
String

getFieldValue(String fieldName)

public String getFieldValue(String fieldName)
Parameter
NameDescription
fieldNameString
Returns
TypeDescription
String

getFieldValuesMap()

public Map<String,String> getFieldValuesMap()
Returns
TypeDescription
Map<String,String>

getFolder()

public String getFolder()
Returns
TypeDescription
String

getLocation()

public String getLocation()
Returns
TypeDescription
String

getOrganization()

public String getOrganization()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

getRegion()

public String getRegion()
Returns
TypeDescription
String

getZone()

public String getZone()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

public ComponentSettingsName.Builder toBuilder()
Returns
TypeDescription
ComponentSettingsName.Builder

toString()

public String toString()
Returns
TypeDescription
String
Overrides