public class ProtectionDomainLevel
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
ProtectionDomainLevel.Builder |
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
ProtectionDomainLevel() |
ProtectionDomainLevel(java.lang.String protectionDomainType,
ProtectionDomainTolerance tolerance,
ProtectionDomainResiliency resiliency) |
Modifier and Type | Method and Description |
---|---|
ProtectionDomainLevel.Builder |
asBuilder() |
static ProtectionDomainLevel.Builder |
builder() |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getProtectionDomainType()
The type of the Protection Domain which has the associated Tolerance and Resiliency.
|
ProtectionDomainResiliency |
getResiliency()
The current Resiliency of this cluster from the perspective of this Protection Domain Type.
|
ProtectionDomainTolerance |
getTolerance()
The current Tolerance of this cluster from the perspective of this Protection Domain Type.
|
int |
hashCode() |
void |
setProtectionDomainType(java.lang.String protectionDomainType) |
void |
setResiliency(ProtectionDomainResiliency resiliency) |
void |
setTolerance(ProtectionDomainTolerance tolerance) |
java.util.Map<java.lang.String,java.lang.Object> |
toMap() |
java.lang.String |
toString() |
public static final long serialVersionUID
@Since(value="7.0") public ProtectionDomainLevel(java.lang.String protectionDomainType, ProtectionDomainTolerance tolerance, ProtectionDomainResiliency resiliency)
public java.lang.String getProtectionDomainType()
public void setProtectionDomainType(java.lang.String protectionDomainType)
public ProtectionDomainTolerance getTolerance()
public void setTolerance(ProtectionDomainTolerance tolerance)
public ProtectionDomainResiliency getResiliency()
public void setResiliency(ProtectionDomainResiliency resiliency)
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 ProtectionDomainLevel.Builder builder()
public final ProtectionDomainLevel.Builder asBuilder()