Class NodeName (0.33.0)

public class NodeName implements ResourceName

Inheritance

Object > NodeName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String privateCloud, String cluster, String node)

public static String format(String project, String location, String privateCloud, String cluster, String node)
Parameters
NameDescription
projectString
locationString
privateCloudString
clusterString
nodeString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String location, String privateCloud, String cluster, String node)

public static NodeName of(String project, String location, String privateCloud, String cluster, String node)
Parameters
NameDescription
projectString
locationString
privateCloudString
clusterString
nodeString
Returns
TypeDescription
NodeName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<NodeName> values)

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

Constructors

NodeName() (deprecated)

protected NodeName()

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>

getLocation()

public String getLocation()
Returns
TypeDescription
String

getNode()

public String getNode()
Returns
TypeDescription
String

getPrivateCloud()

public String getPrivateCloud()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides