@NotThreadSafe public static final class ImmutableRestoreTaskObject.Builder extends Object
ImmutableRestoreTaskObject.
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 |
|---|---|
ImmutableRestoreTaskObject.Builder |
backupRunUid(BackupRunUid backupRunUid)
Initializes the value for the
backupRunUid attribute. |
ImmutableRestoreTaskObject |
build()
Builds a new
ImmutableRestoreTaskObject. |
ImmutableRestoreTaskObject.Builder |
from(RestoreTaskObject instance)
Fill a builder with attribute values from the provided
RestoreTaskObject instance. |
ImmutableRestoreTaskObject.Builder |
source(VCloudProtectionSource source)
Initializes the value for the
source attribute. |
public final ImmutableRestoreTaskObject.Builder from(RestoreTaskObject instance)
RestoreTaskObject 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 ImmutableRestoreTaskObject.Builder backupRunUid(BackupRunUid backupRunUid)
backupRunUid attribute.backupRunUid - The value for backupRunUidthis builder for use in a chained invocationpublic final ImmutableRestoreTaskObject.Builder source(VCloudProtectionSource source)
source attribute.source - The value for sourcethis builder for use in a chained invocationpublic ImmutableRestoreTaskObject build()
ImmutableRestoreTaskObject.IllegalStateException - if any required attributes are missingCopyright © 2023 iland Internet Solutions, Corp. All rights reserved.