Class SettingsName (0.9.0)

public class SettingsName implements ResourceName

Inheritance

Object > SettingsName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String organization)

public static String format(String organization)
Parameter
NameDescription
organizationString
Returns
TypeDescription
String

formatFolderName(String folder)

public static String formatFolderName(String folder)
Parameter
NameDescription
folderString
Returns
TypeDescription
String

formatOrganizationName(String organization)

public static String formatOrganizationName(String organization)
Parameter
NameDescription
organizationString
Returns
TypeDescription
String

formatProjectLocationClusterName(String project, String location, String cluster)

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

formatProjectName(String project)

public static String formatProjectName(String project)
Parameter
NameDescription
projectString
Returns
TypeDescription
String

formatProjectRegionClusterName(String project, String region, String cluster)

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

formatProjectZoneClusterName(String project, String zone, String cluster)

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

isParsableFrom(String formattedString)

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

newBuilder()

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

newFolderBuilder()

public static SettingsName.FolderBuilder newFolderBuilder()
Returns
TypeDescription
SettingsName.FolderBuilder

newOrganizationBuilder()

public static SettingsName.Builder newOrganizationBuilder()
Returns
TypeDescription
SettingsName.Builder

newProjectBuilder()

public static SettingsName.ProjectBuilder newProjectBuilder()
Returns
TypeDescription
SettingsName.ProjectBuilder

newProjectLocationClusterBuilder()

public static SettingsName.ProjectLocationClusterBuilder newProjectLocationClusterBuilder()
Returns
TypeDescription
SettingsName.ProjectLocationClusterBuilder

newProjectRegionClusterBuilder()

public static SettingsName.ProjectRegionClusterBuilder newProjectRegionClusterBuilder()
Returns
TypeDescription
SettingsName.ProjectRegionClusterBuilder

newProjectZoneClusterBuilder()

public static SettingsName.ProjectZoneClusterBuilder newProjectZoneClusterBuilder()
Returns
TypeDescription
SettingsName.ProjectZoneClusterBuilder

of(String organization)

public static SettingsName of(String organization)
Parameter
NameDescription
organizationString
Returns
TypeDescription
SettingsName

ofFolderName(String folder)

public static SettingsName ofFolderName(String folder)
Parameter
NameDescription
folderString
Returns
TypeDescription
SettingsName

ofOrganizationName(String organization)

public static SettingsName ofOrganizationName(String organization)
Parameter
NameDescription
organizationString
Returns
TypeDescription
SettingsName

ofProjectLocationClusterName(String project, String location, String cluster)

public static SettingsName ofProjectLocationClusterName(String project, String location, String cluster)
Parameters
NameDescription
projectString
locationString
clusterString
Returns
TypeDescription
SettingsName

ofProjectName(String project)

public static SettingsName ofProjectName(String project)
Parameter
NameDescription
projectString
Returns
TypeDescription
SettingsName

ofProjectRegionClusterName(String project, String region, String cluster)

public static SettingsName ofProjectRegionClusterName(String project, String region, String cluster)
Parameters
NameDescription
projectString
regionString
clusterString
Returns
TypeDescription
SettingsName

ofProjectZoneClusterName(String project, String zone, String cluster)

public static SettingsName ofProjectZoneClusterName(String project, String zone, String cluster)
Parameters
NameDescription
projectString
zoneString
clusterString
Returns
TypeDescription
SettingsName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<SettingsName> values)

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

Constructors

SettingsName()

protected SettingsName()

Methods

equals(Object o)

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

getCluster()

public String getCluster()
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 SettingsName.Builder toBuilder()
Returns
TypeDescription
SettingsName.Builder

toString()

public String toString()
Returns
TypeDescription
String
Overrides