@NotThreadSafe public static final class ImmutableCompanyAdminCountResponse.Builder extends Object
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.
Modifier and Type | Method and Description |
---|---|
ImmutableCompanyAdminCountResponse |
build()
Builds a new
ImmutableCompanyAdminCountResponse . |
ImmutableCompanyAdminCountResponse.Builder |
count(int count)
Initializes the value for the
count attribute. |
ImmutableCompanyAdminCountResponse.Builder |
from(CompanyAdminCountResponse instance)
Fill a builder with attribute values from the provided
CompanyAdminCountResponse instance. |
public final ImmutableCompanyAdminCountResponse.Builder from(CompanyAdminCountResponse instance)
CompanyAdminCountResponse
instance.
Regular attribute values will be replaced with those from the given instance.
Absent optional values will not replace present values.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final ImmutableCompanyAdminCountResponse.Builder count(int count)
count
attribute.count
- The value for countthis
builder for use in a chained invocationpublic ImmutableCompanyAdminCountResponse build()
ImmutableCompanyAdminCountResponse
.IllegalStateException
- if any required attributes are missingCopyright © 2023 iland Internet Solutions, Corp. All rights reserved.