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