Class ImmutableVccReplicationUsageResponse
java.lang.Object
com.iland.core.web.rest.response.vcctenant.ImmutableVccReplicationUsageResponse
- All Implemented Interfaces:
VccReplicationUsageResponse
@Generated(from="VccReplicationUsageResponse",
generator="Immutables")
@ParametersAreNonnullByDefault
@Generated("org.immutables.processor.ProxyProcessor")
@Immutable
@CheckReturnValue
public final class ImmutableVccReplicationUsageResponse
extends Object
implements VccReplicationUsageResponse
Immutable implementation of
VccReplicationUsageResponse.
Use the builder to create immutable instances:
ImmutableVccReplicationUsageResponse.builder().
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeImmutableVccReplicationUsageResponse. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forImmutableVccReplicationUsageResponse.copyOf(VccReplicationUsageResponse instance) Creates an immutable copy of aVccReplicationUsageResponsevalue.booleanThis instance is equal to all instances ofImmutableVccReplicationUsageResponsethat have equal attribute values.inthashCode()Computes a hash code from attributes:orguuid,storage.orguuid()org uuiddoublestorage()VCCR storage for all the org vdcs.toString()Prints the immutable valueVccReplicationUsageResponsewith attribute values.withOrguuid(String value) Copy the current immutable object by setting a value for theorguuidattribute.withStorage(double value) Copy the current immutable object by setting a value for thestorageattribute.
-
Method Details
-
orguuid
org uuid- Specified by:
orguuidin interfaceVccReplicationUsageResponse
-
storage
public double storage()VCCR storage for all the org vdcs.- Specified by:
storagein interfaceVccReplicationUsageResponse
-
withOrguuid
Copy the current immutable object by setting a value for theorguuidattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for orguuid- Returns:
- A modified copy of the
thisobject
-
withStorage
Copy the current immutable object by setting a value for thestorageattribute. A value strict bits equality used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for storage- Returns:
- A modified copy of the
thisobject
-
equals
This instance is equal to all instances ofImmutableVccReplicationUsageResponsethat have equal attribute values. -
hashCode
public int hashCode()Computes a hash code from attributes:orguuid,storage. -
toString
Prints the immutable valueVccReplicationUsageResponsewith attribute values. -
copyOf
Creates an immutable copy of aVccReplicationUsageResponsevalue. Uses accessors to get values to initialize the new immutable instance. If an instance is already immutable, it is returned as is.- Parameters:
instance- The instance to copy- Returns:
- A copied immutable VccReplicationUsageResponse instance
-
builder
Creates a builder forImmutableVccReplicationUsageResponse.ImmutableVccReplicationUsageResponse.builder() .orguuid(String) // requiredorguuid.storage(double) // requiredstorage.build();- Returns:
- A new ImmutableVccReplicationUsageResponse builder
-