Class ImmutableCompanyAdminCountResponse.Builder
java.lang.Object
com.iland.core.web.rest.response.iam.ImmutableCompanyAdminCountResponse.Builder
- Enclosing class:
- ImmutableCompanyAdminCountResponse
@Generated(from="CompanyAdminCountResponse",
generator="Immutables")
@NotThreadSafe
public static final class ImmutableCompanyAdminCountResponse.Builder
extends Object
Builds instances of type
ImmutableCompanyAdminCountResponse.
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 newImmutableCompanyAdminCountResponse.count(int count) Initializes the value for thecountattribute.from(CompanyAdminCountResponse instance) Fill a builder with attribute values from the providedCompanyAdminCountResponseinstance.
-
Method Details
-
from
@CanIgnoreReturnValue public final ImmutableCompanyAdminCountResponse.Builder from(CompanyAdminCountResponse instance) Fill a builder with attribute values from the providedCompanyAdminCountResponseinstance. 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
-
count
Initializes the value for thecountattribute.- Parameters:
count- The value for count- Returns:
thisbuilder for use in a chained invocation
-
build
Builds a newImmutableCompanyAdminCountResponse.- Returns:
- An immutable instance of CompanyAdminCountResponse
- Throws:
IllegalStateException- if any required attributes are missing
-