public static class ResourceCommitment.Builder extends Object
Modifier and Type | Method and Description |
---|---|
ResourceCommitment |
build() |
ResourceCommitment.Builder |
clone() |
String |
getAmount()
The amount of the resource purchased (in a type-dependent unit, such as bytes).
|
String |
getType()
Type of resource for which this commitment applies.
|
ResourceCommitment.Builder |
mergeFrom(ResourceCommitment other) |
ResourceCommitment.Builder |
setAmount(String amount)
The amount of the resource purchased (in a type-dependent unit, such as bytes).
|
ResourceCommitment.Builder |
setType(String type)
Type of resource for which this commitment applies.
|
public ResourceCommitment.Builder mergeFrom(ResourceCommitment other)
public String getAmount()
public ResourceCommitment.Builder setAmount(String amount)
public String getType()
public ResourceCommitment.Builder setType(String type)
public ResourceCommitment build()
public ResourceCommitment.Builder clone()
Copyright © 2019 Google LLC. All rights reserved.