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