Class NodePoolName.Builder (0.61.0)

publicstaticclass NodePoolName.Builder

Builder for projects/{project}/locations/{location}/clusters/{cluster}/nodePools/{node_pool}.

Inheritance

java.lang.Object > NodePoolName.Builder

Constructors

Builder()

protectedBuilder()

Methods

build()

publicNodePoolNamebuild()
Returns
Type Description
NodePoolName

getCluster()

publicStringgetCluster()
Returns
Type Description
String

getLocation()

publicStringgetLocation()
Returns
Type Description
String

getNodePool()

publicStringgetNodePool()
Returns
Type Description
String

getProject()

publicStringgetProject()
Returns
Type Description
String

setCluster(String cluster)

publicNodePoolName.BuildersetCluster(Stringcluster)
Parameter
Name Description
cluster String
Returns
Type Description
NodePoolName.Builder

setLocation(String location)

publicNodePoolName.BuildersetLocation(Stringlocation)
Parameter
Name Description
location String
Returns
Type Description
NodePoolName.Builder

setNodePool(String nodePool)

publicNodePoolName.BuildersetNodePool(StringnodePool)
Parameter
Name Description
nodePool String
Returns
Type Description
NodePoolName.Builder

setProject(String project)

publicNodePoolName.BuildersetProject(Stringproject)
Parameter
Name Description
project String
Returns
Type Description
NodePoolName.Builder

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.