Class CapacityCommitmentName.Builder (2.22.0)

public static class CapacityCommitmentName.Builder

Builder for projects/{project}/locations/{location}/capacityCommitments/{capacity_commitment}.

Inheritance

java.lang.Object > CapacityCommitmentName.Builder

Constructors

Builder()

protected Builder()

Methods

build()

public CapacityCommitmentName build()
Returns
TypeDescription
CapacityCommitmentName

getCapacityCommitment()

public String getCapacityCommitment()
Returns
TypeDescription
String

getLocation()

public String getLocation()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

setCapacityCommitment(String capacityCommitment)

public CapacityCommitmentName.Builder setCapacityCommitment(String capacityCommitment)
Parameter
NameDescription
capacityCommitmentString
Returns
TypeDescription
CapacityCommitmentName.Builder

setLocation(String location)

public CapacityCommitmentName.Builder setLocation(String location)
Parameter
NameDescription
locationString
Returns
TypeDescription
CapacityCommitmentName.Builder

setProject(String project)

public CapacityCommitmentName.Builder setProject(String project)
Parameter
NameDescription
projectString
Returns
TypeDescription
CapacityCommitmentName.Builder