Class NodePoolName (0.27.0)

public class NodePoolName implements ResourceName

Inheritance

Object > NodePoolName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String cluster, String nodePool)

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

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String location, String cluster, String nodePool)

public static NodePoolName of(String project, String location, String cluster, String nodePool)
Parameters
NameDescription
projectString
locationString
clusterString
nodePoolString
Returns
TypeDescription
NodePoolName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<NodePoolName> values)

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

Constructors

NodePoolName()

protected NodePoolName()

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

getNodePool()

public String getNodePool()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides