@NotThreadSafe public static final class ImmutableLocationBackupSummaryStats.Builder extends Object
ImmutableLocationBackupSummaryStats.
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 ImmutableLocationBackupSummaryStats.Builder from(LocationBackupSummaryStats instance)
LocationBackupSummaryStats 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 ImmutableLocationBackupSummaryStats.Builder locationId(LocationId locationId)
locationId attribute.locationId - The value for locationIdthis builder for use in a chained invocationpublic final ImmutableLocationBackupSummaryStats.Builder stats(SummaryStats stats)
stats attribute.stats - The value for statsthis builder for use in a chained invocationpublic final ImmutableLocationBackupSummaryStats.Builder addCompanyLocationStats(CompanyLocationBackupSummaryStats element)
companyLocationStats set.element - A companyLocationStats elementthis builder for use in a chained invocationpublic final ImmutableLocationBackupSummaryStats.Builder addCompanyLocationStats(CompanyLocationBackupSummaryStats... elements)
companyLocationStats set.elements - An array of companyLocationStats elementsthis builder for use in a chained invocationpublic final ImmutableLocationBackupSummaryStats.Builder companyLocationStats(Iterable<? extends CompanyLocationBackupSummaryStats> elements)
companyLocationStats set.elements - An iterable of companyLocationStats elementsthis builder for use in a chained invocationpublic final ImmutableLocationBackupSummaryStats.Builder addAllCompanyLocationStats(Iterable<? extends CompanyLocationBackupSummaryStats> elements)
companyLocationStats set.elements - An iterable of companyLocationStats elementsthis builder for use in a chained invocationpublic ImmutableLocationBackupSummaryStats build()
ImmutableLocationBackupSummaryStats.IllegalStateException - if any required attributes are missingCopyright © 2023 iland Internet Solutions, Corp. All rights reserved.