Class CapacityCommitmentName.Builder (2.45.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
Type Description
CapacityCommitmentName

getCapacityCommitment()

public String getCapacityCommitment()
Returns
Type Description
String

getLocation()

public String getLocation()
Returns
Type Description
String

getProject()

public String getProject()
Returns
Type Description
String

setCapacityCommitment(String capacityCommitment)

public CapacityCommitmentName.Builder setCapacityCommitment(String capacityCommitment)
Parameter
Name Description
capacityCommitment String
Returns
Type Description
CapacityCommitmentName.Builder

setLocation(String location)

public CapacityCommitmentName.Builder setLocation(String location)
Parameter
Name Description
location String
Returns
Type Description
CapacityCommitmentName.Builder

setProject(String project)

public CapacityCommitmentName.Builder setProject(String project)
Parameter
Name Description
project String
Returns
Type Description
CapacityCommitmentName.Builder