public static final class ResourceSpecification.Builder extends Object
ResourceSpecification.| Modifier and Type | Method and Description |
|---|---|
ResourceSpecification |
build() |
ResourceSpecification.Builder |
setCapacity(int inputCapacity) |
ResourceSpecification.Builder |
setContainerType(String inputContainerType) |
ResourceSpecification.Builder |
setMemory(int inputMemory) |
public ResourceSpecification.Builder setContainerType(String inputContainerType)
inputContainerType - the container typeResourceSpecification.Builder object.public ResourceSpecification.Builder setCapacity(int inputCapacity)
inputCapacity - the number of TaskGroups that can be run in this containerResourceSpecification.Builder object.public ResourceSpecification.Builder setMemory(int inputMemory)
inputMemory - the size of the memory allocated, in megabytesResourceSpecification.Builder object.public ResourceSpecification build()
ResourceSpecification object that has been builtCopyright © 2018. All rights reserved.