@NotThreadSafe public static final class ImmutableOrgBackupSummaryStats.Builder extends Object
ImmutableOrgBackupSummaryStats
.
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 ImmutableOrgBackupSummaryStats.Builder from(OrgBackupSummaryStats instance)
OrgBackupSummaryStats
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 ImmutableOrgBackupSummaryStats.Builder orgUuid(OrgUuid orgUuid)
orgUuid
attribute.orgUuid
- The value for orgUuidthis
builder for use in a chained invocationpublic final ImmutableOrgBackupSummaryStats.Builder stats(SummaryStats stats)
stats
attribute.stats
- The value for statsthis
builder for use in a chained invocationpublic final ImmutableOrgBackupSummaryStats.Builder addVdcStats(VdcBackupSummaryStats element)
vdcStats
set.element
- A vdcStats elementthis
builder for use in a chained invocationpublic final ImmutableOrgBackupSummaryStats.Builder addVdcStats(VdcBackupSummaryStats... elements)
vdcStats
set.elements
- An array of vdcStats elementsthis
builder for use in a chained invocationpublic final ImmutableOrgBackupSummaryStats.Builder vdcStats(Iterable<? extends VdcBackupSummaryStats> elements)
vdcStats
set.elements
- An iterable of vdcStats elementsthis
builder for use in a chained invocationpublic final ImmutableOrgBackupSummaryStats.Builder addAllVdcStats(Iterable<? extends VdcBackupSummaryStats> elements)
vdcStats
set.elements
- An iterable of vdcStats elementsthis
builder for use in a chained invocationpublic ImmutableOrgBackupSummaryStats build()
ImmutableOrgBackupSummaryStats
.IllegalStateException
- if any required attributes are missingCopyright © 2023 iland Internet Solutions, Corp. All rights reserved.