Class ImmutableVccReplicationUsageResponse.Builder
java.lang.Object
com.iland.core.web.rest.response.vcctenant.ImmutableVccReplicationUsageResponse.Builder
- Enclosing class:
- ImmutableVccReplicationUsageResponse
@Generated(from="VccReplicationUsageResponse",
generator="Immutables")
@NotThreadSafe
public static final class ImmutableVccReplicationUsageResponse.Builder
extends Object
Builds instances of type
ImmutableVccReplicationUsageResponse.
Initialize attributes and then invoke the build() method to create an
immutable instance.
Builder is not thread-safe and generally should not be stored in a field or collection,
but instead used immediately to create instances.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds a newImmutableVccReplicationUsageResponse.from(VccReplicationUsageResponse instance) Fill a builder with attribute values from the providedVccReplicationUsageResponseinstance.Initializes the value for theorguuidattribute.storage(double storage) Initializes the value for thestorageattribute.
-
Method Details
-
from
@CanIgnoreReturnValue public final ImmutableVccReplicationUsageResponse.Builder from(VccReplicationUsageResponse instance) Fill a builder with attribute values from the providedVccReplicationUsageResponseinstance. Regular attribute values will be replaced with those from the given instance. Absent optional values will not replace present values.- Parameters:
instance- The instance from which to copy values- Returns:
thisbuilder for use in a chained invocation
-
orguuid
@CanIgnoreReturnValue public final ImmutableVccReplicationUsageResponse.Builder orguuid(String orguuid) Initializes the value for theorguuidattribute.- Parameters:
orguuid- The value for orguuid- Returns:
thisbuilder for use in a chained invocation
-
storage
@CanIgnoreReturnValue public final ImmutableVccReplicationUsageResponse.Builder storage(double storage) Initializes the value for thestorageattribute.- Parameters:
storage- The value for storage- Returns:
thisbuilder for use in a chained invocation
-
build
Builds a newImmutableVccReplicationUsageResponse.- Returns:
- An immutable instance of VccReplicationUsageResponse
- Throws:
IllegalStateException- if any required attributes are missing
-