public class BandwidthResourceRequest extends Object implements ResourceRequest
| Constructor and Description |
|---|
BandwidthResourceRequest(Bandwidth bandwidth)
Creates a new
BandwidthResourceRequest with Bandwidth
object. |
BandwidthResourceRequest(double bandwidth)
Creates a new
BandwidthResourceRequest with bandwidth value. |
| Modifier and Type | Method and Description |
|---|---|
Bandwidth |
bandwidth()
Returns the bandwidth resource.
|
String |
toString() |
ResourceType |
type()
Returns the resource type.
|
public BandwidthResourceRequest(Bandwidth bandwidth)
BandwidthResourceRequest with Bandwidth
object.bandwidth - Bandwidth object to be requestedpublic BandwidthResourceRequest(double bandwidth)
BandwidthResourceRequest with bandwidth value.bandwidth - bandwidth value to be requestedpublic Bandwidth bandwidth()
public ResourceType type()
ResourceRequesttype in interface ResourceRequestCopyright © 2015. All rights reserved.