@NotThreadSafe public static final class ImmutableCompanyLocationBackupSummaryStats.Builder extends Object
ImmutableCompanyLocationBackupSummaryStats
.
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.
public final ImmutableCompanyLocationBackupSummaryStats.Builder from(CompanyLocationBackupSummaryStats instance)
CompanyLocationBackupSummaryStats
instance.
Regular attribute values will be replaced with those from the given instance.
Absent optional values will not replace present values.
Collection elements and entries will be added, not replaced.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final ImmutableCompanyLocationBackupSummaryStats.Builder companyId(CompanyId companyId)
companyId
attribute.companyId
- The value for companyIdthis
builder for use in a chained invocationpublic final ImmutableCompanyLocationBackupSummaryStats.Builder locationId(LocationId locationId)
locationId
attribute.locationId
- The value for locationIdthis
builder for use in a chained invocationpublic final ImmutableCompanyLocationBackupSummaryStats.Builder stats(SummaryStats stats)
stats
attribute.stats
- The value for statsthis
builder for use in a chained invocationpublic final ImmutableCompanyLocationBackupSummaryStats.Builder addOrgStats(OrgBackupSummaryStats element)
orgStats
set.element
- A orgStats elementthis
builder for use in a chained invocationpublic final ImmutableCompanyLocationBackupSummaryStats.Builder addOrgStats(OrgBackupSummaryStats... elements)
orgStats
set.elements
- An array of orgStats elementsthis
builder for use in a chained invocationpublic final ImmutableCompanyLocationBackupSummaryStats.Builder orgStats(Iterable<? extends OrgBackupSummaryStats> elements)
orgStats
set.elements
- An iterable of orgStats elementsthis
builder for use in a chained invocationpublic final ImmutableCompanyLocationBackupSummaryStats.Builder addAllOrgStats(Iterable<? extends OrgBackupSummaryStats> elements)
orgStats
set.elements
- An iterable of orgStats elementsthis
builder for use in a chained invocationpublic ImmutableCompanyLocationBackupSummaryStats build()
ImmutableCompanyLocationBackupSummaryStats
.IllegalStateException
- if any required attributes are missingCopyright © 2023 iland Internet Solutions, Corp. All rights reserved.