public class ComponentSettingsName implements ResourceName
Inheritance
Object >
ComponentSettingsName
Implements
com.google.api.resourcenames.ResourceName
Static Methods
public static String format(String organization, String component)
public static String formatFolderComponentName(String folder, String component)
Beta
The static format methods are not stable yet and may be changed in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
public static String formatOrganizationComponentName(String organization, String component)
Beta
The static format methods are not stable yet and may be changed in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
public static String formatProjectComponentName(String project, String component)
Beta
The static format methods are not stable yet and may be changed in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
public static String formatProjectLocationClusterComponentName(String project, String location, String cluster, String component)
Beta
The static format methods are not stable yet and may be changed in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
public static String formatProjectRegionClusterComponentName(String project, String region, String cluster, String component)
Beta
The static format methods are not stable yet and may be changed in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
public static String formatProjectZoneClusterComponentName(String project, String zone, String cluster, String component)
Beta
The static format methods are not stable yet and may be changed in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
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()
Beta
The per-pattern Builders are not stable yet and may be changed in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
newOrganizationComponentBuilder()
public static ComponentSettingsName.Builder newOrganizationComponentBuilder()
Beta
The per-pattern Builders are not stable yet and may be changed in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
newProjectComponentBuilder()
public static ComponentSettingsName.ProjectComponentBuilder newProjectComponentBuilder()
Beta
The per-pattern Builders are not stable yet and may be changed in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
newProjectLocationClusterComponentBuilder()
public static ComponentSettingsName.ProjectLocationClusterComponentBuilder newProjectLocationClusterComponentBuilder()
Beta
The per-pattern Builders are not stable yet and may be changed in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
newProjectRegionClusterComponentBuilder()
public static ComponentSettingsName.ProjectRegionClusterComponentBuilder newProjectRegionClusterComponentBuilder()
Beta
The per-pattern Builders are not stable yet and may be changed in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
newProjectZoneClusterComponentBuilder()
public static ComponentSettingsName.ProjectZoneClusterComponentBuilder newProjectZoneClusterComponentBuilder()
Beta
The per-pattern Builders are not stable yet and may be changed in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
of(String organization, String component)
public static ComponentSettingsName of(String organization, String component)
ofFolderComponentName(String folder, String component)
public static ComponentSettingsName ofFolderComponentName(String folder, String component)
Beta
The static create methods are not stable yet and may be changed in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
ofOrganizationComponentName(String organization, String component)
public static ComponentSettingsName ofOrganizationComponentName(String organization, String component)
Beta
The static create methods are not stable yet and may be changed in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
ofProjectComponentName(String project, String component)
public static ComponentSettingsName ofProjectComponentName(String project, String component)
Beta
The static create methods are not stable yet and may be changed in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
ofProjectLocationClusterComponentName(String project, String location, String cluster, String component)
public static ComponentSettingsName ofProjectLocationClusterComponentName(String project, String location, String cluster, String component)
Beta
The static create methods are not stable yet and may be changed in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
ofProjectRegionClusterComponentName(String project, String region, String cluster, String component)
public static ComponentSettingsName ofProjectRegionClusterComponentName(String project, String region, String cluster, String component)
Beta
The static create methods are not stable yet and may be changed in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
ofProjectZoneClusterComponentName(String project, String zone, String cluster, String component)
public static ComponentSettingsName ofProjectZoneClusterComponentName(String project, String zone, String cluster, String component)
Beta
The static create methods are not stable yet and may be changed in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
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()
getComponent()
public String getComponent()
getFieldValue(String fieldName)
public String getFieldValue(String fieldName)
Parameter Name Description fieldName
String
getFieldValuesMap()
public Map<String,String> getFieldValuesMap()
getFolder()
public String getFolder()
getLocation()
public String getLocation()
getOrganization()
public String getOrganization()
getProject()
public String getProject()
getRegion()
public String getRegion()
getZone()
hashCode()
Returns Type Description int
Overrides
toBuilder()
public ComponentSettingsName.Builder toBuilder()
toString()
Overrides