@NotThreadSafe public static final class ImmutableBackupGroupDiskUnit.Builder extends Object
ImmutableBackupGroupDiskUnit.
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 |
|---|---|
ImmutableBackupGroupDiskUnit |
build()
Builds a new
ImmutableBackupGroupDiskUnit. |
ImmutableBackupGroupDiskUnit.Builder |
busNumber(Long busNumber)
Initializes the value for the
busNumber attribute. |
ImmutableBackupGroupDiskUnit.Builder |
controllerType(String controllerType)
Initializes the value for the
controllerType attribute. |
ImmutableBackupGroupDiskUnit.Builder |
from(BackupGroupDiskUnit instance)
Fill a builder with attribute values from the provided
BackupGroupDiskUnit instance. |
ImmutableBackupGroupDiskUnit.Builder |
unitNumber(Long unitNumber)
Initializes the value for the
unitNumber attribute. |
public final ImmutableBackupGroupDiskUnit.Builder from(BackupGroupDiskUnit instance)
BackupGroupDiskUnit 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 ImmutableBackupGroupDiskUnit.Builder busNumber(Long busNumber)
busNumber attribute.busNumber - The value for busNumberthis builder for use in a chained invocationpublic final ImmutableBackupGroupDiskUnit.Builder controllerType(String controllerType)
controllerType attribute.controllerType - The value for controllerTypethis builder for use in a chained invocationpublic final ImmutableBackupGroupDiskUnit.Builder unitNumber(Long unitNumber)
unitNumber attribute.unitNumber - The value for unitNumberthis builder for use in a chained invocationpublic ImmutableBackupGroupDiskUnit build()
ImmutableBackupGroupDiskUnit.IllegalStateException - if any required attributes are missingCopyright © 2023 iland Internet Solutions, Corp. All rights reserved.