public class ProtectionSchemeInfo
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
ProtectionSchemeInfo.Builder |
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
ProtectionSchemeInfo() |
ProtectionSchemeInfo(java.lang.String category,
java.lang.Long repCount,
java.lang.String visibility) |
Modifier and Type | Method and Description |
---|---|
ProtectionSchemeInfo.Builder |
asBuilder() |
static ProtectionSchemeInfo.Builder |
builder() |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getCategory()
The category of the protection scheme.
|
java.lang.Long |
getRepCount()
The total number of replicas used by the protection scheme.
|
java.lang.String |
getVisibility()
The public visibility of the scheme.
|
int |
hashCode() |
void |
setCategory(java.lang.String category) |
void |
setRepCount(java.lang.Long repCount) |
void |
setVisibility(java.lang.String visibility) |
java.util.Map<java.lang.String,java.lang.Object> |
toMap() |
java.lang.String |
toString() |
public static final long serialVersionUID
public java.lang.String getCategory()
public void setCategory(java.lang.String category)
public java.lang.Long getRepCount()
public void setRepCount(java.lang.Long repCount)
public java.lang.String getVisibility()
public void setVisibility(java.lang.String visibility)
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 ProtectionSchemeInfo.Builder builder()
public final ProtectionSchemeInfo.Builder asBuilder()