public class ServiceStrandedCapacity
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
ServiceStrandedCapacity.Builder |
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
ServiceStrandedCapacity() |
ServiceStrandedCapacity(java.lang.Long serviceID,
java.lang.Long strandedCapacity) |
Modifier and Type | Method and Description |
---|---|
ServiceStrandedCapacity.Builder |
asBuilder() |
static ServiceStrandedCapacity.Builder |
builder() |
boolean |
equals(java.lang.Object o) |
java.lang.Long |
getServiceID()
Service ID
|
java.lang.Long |
getStrandedCapacity()
Stranded capacity in bytes for a block service.
|
int |
hashCode() |
void |
setServiceID(java.lang.Long serviceID) |
void |
setStrandedCapacity(java.lang.Long strandedCapacity) |
java.util.Map<java.lang.String,java.lang.Object> |
toMap() |
java.lang.String |
toString() |
public static final long serialVersionUID
public java.lang.Long getServiceID()
public void setServiceID(java.lang.Long serviceID)
public java.lang.Long getStrandedCapacity()
public void setStrandedCapacity(java.lang.Long strandedCapacity)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.util.Map<java.lang.String,java.lang.Object> toMap()
public java.lang.String toString()
toString
in class java.lang.Object
public static ServiceStrandedCapacity.Builder builder()
public final ServiceStrandedCapacity.Builder asBuilder()