public static final class ResourceAllocationEventImpl.Builder extends Object implements Builder<ResourceAllocationEvent>
Constructor and Description |
---|
ResourceAllocationEventImpl.Builder() |
Modifier and Type | Method and Description |
---|---|
ResourceAllocationEvent |
build()
Builds a fresh instance of the object.
|
ResourceAllocationEventImpl.Builder |
setIdentifier(String identifier) |
ResourceAllocationEventImpl.Builder |
setNodeId(String nodeId) |
ResourceAllocationEventImpl.Builder |
setResourceMemory(int resourceMemory) |
ResourceAllocationEventImpl.Builder |
setVirtualCores(int virtualCores) |
public ResourceAllocationEventImpl.Builder()
public ResourceAllocationEventImpl.Builder setIdentifier(String identifier)
public ResourceAllocationEventImpl.Builder setResourceMemory(int resourceMemory)
public ResourceAllocationEventImpl.Builder setNodeId(String nodeId)
ResourceAllocationEvent.getNodeId()
public ResourceAllocationEventImpl.Builder setVirtualCores(int virtualCores)
public ResourceAllocationEvent build()
Builder
build
in interface Builder<ResourceAllocationEvent>
Copyright © 2015 The Apache Software Foundation. All rights reserved.