public static interface SourceProperties.Builder extends SdkPojo, CopyableBuilder<SourceProperties.Builder,SourceProperties>
| Modifier and Type | Method and Description |
|---|---|
SourceProperties.Builder |
cpus(Collection<CPU> cpus)
An array of CPUs.
|
SourceProperties.Builder |
cpus(Consumer<CPU.Builder>... cpus)
An array of CPUs.
|
SourceProperties.Builder |
cpus(CPU... cpus)
An array of CPUs.
|
SourceProperties.Builder |
disks(Collection<Disk> disks)
An array of disks.
|
SourceProperties.Builder |
disks(Consumer<Disk.Builder>... disks)
An array of disks.
|
SourceProperties.Builder |
disks(Disk... disks)
An array of disks.
|
default SourceProperties.Builder |
identificationHints(Consumer<IdentificationHints.Builder> identificationHints)
Hints used to uniquely identify a machine.
|
SourceProperties.Builder |
identificationHints(IdentificationHints identificationHints)
Hints used to uniquely identify a machine.
|
SourceProperties.Builder |
lastUpdatedDateTime(String lastUpdatedDateTime)
The date and time the Source Properties were last updated on.
|
SourceProperties.Builder |
networkInterfaces(Collection<NetworkInterface> networkInterfaces)
An array of network interfaces.
|
SourceProperties.Builder |
networkInterfaces(Consumer<NetworkInterface.Builder>... networkInterfaces)
An array of network interfaces.
|
SourceProperties.Builder |
networkInterfaces(NetworkInterface... networkInterfaces)
An array of network interfaces.
|
default SourceProperties.Builder |
os(Consumer<OS.Builder> os)
Operating system.
|
SourceProperties.Builder |
os(OS os)
Operating system.
|
SourceProperties.Builder |
ramBytes(Long ramBytes)
The amount of RAM in bytes.
|
SourceProperties.Builder |
recommendedInstanceType(String recommendedInstanceType)
The recommended EC2 instance type that will be used when recovering the Source Server.
|
SourceProperties.Builder |
supportsNitroInstances(Boolean supportsNitroInstances)
Are EC2 nitro instance types supported when recovering the Source Server.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildSourceProperties.Builder cpus(Collection<CPU> cpus)
An array of CPUs.
cpus - An array of CPUs.SourceProperties.Builder cpus(CPU... cpus)
An array of CPUs.
cpus - An array of CPUs.SourceProperties.Builder cpus(Consumer<CPU.Builder>... cpus)
An array of CPUs.
This is a convenience method that creates an instance of theCPU.Builder avoiding the need to create one manually via
CPU.builder().
When the Consumer completes, SdkBuilder.build() is
called immediately and its result is passed to #cpus(List.
cpus - a consumer that will call methods on CPU.Builder#cpus(java.util.Collection) SourceProperties.Builder disks(Collection<Disk> disks)
An array of disks.
disks - An array of disks.SourceProperties.Builder disks(Disk... disks)
An array of disks.
disks - An array of disks.SourceProperties.Builder disks(Consumer<Disk.Builder>... disks)
An array of disks.
This is a convenience method that creates an instance of theDisk.Builder avoiding the need to create one manually via
Disk.builder().
When the Consumer completes, SdkBuilder.build()
is called immediately and its result is passed to #disks(List.
disks - a consumer that will call methods on Disk.Builder#disks(java.util.Collection) SourceProperties.Builder identificationHints(IdentificationHints identificationHints)
Hints used to uniquely identify a machine.
identificationHints - Hints used to uniquely identify a machine.default SourceProperties.Builder identificationHints(Consumer<IdentificationHints.Builder> identificationHints)
Hints used to uniquely identify a machine.
This is a convenience method that creates an instance of theIdentificationHints.Builder avoiding the
need to create one manually via IdentificationHints.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to identificationHints(IdentificationHints).
identificationHints - a consumer that will call methods on IdentificationHints.BuilderidentificationHints(IdentificationHints)SourceProperties.Builder lastUpdatedDateTime(String lastUpdatedDateTime)
The date and time the Source Properties were last updated on.
lastUpdatedDateTime - The date and time the Source Properties were last updated on.SourceProperties.Builder networkInterfaces(Collection<NetworkInterface> networkInterfaces)
An array of network interfaces.
networkInterfaces - An array of network interfaces.SourceProperties.Builder networkInterfaces(NetworkInterface... networkInterfaces)
An array of network interfaces.
networkInterfaces - An array of network interfaces.SourceProperties.Builder networkInterfaces(Consumer<NetworkInterface.Builder>... networkInterfaces)
An array of network interfaces.
This is a convenience method that creates an instance of theNetworkInterface.Builder avoiding the need to create one
manually via NetworkInterface.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #networkInterfaces(List.
networkInterfaces - a consumer that will call methods on
NetworkInterface.Builder#networkInterfaces(java.util.Collection) SourceProperties.Builder os(OS os)
Operating system.
os - Operating system.default SourceProperties.Builder os(Consumer<OS.Builder> os)
Operating system.
This is a convenience method that creates an instance of theOS.Builder avoiding the need to create
one manually via OS.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to os(OS).
os - a consumer that will call methods on OS.Builderos(OS)SourceProperties.Builder ramBytes(Long ramBytes)
The amount of RAM in bytes.
ramBytes - The amount of RAM in bytes.SourceProperties.Builder recommendedInstanceType(String recommendedInstanceType)
The recommended EC2 instance type that will be used when recovering the Source Server.
recommendedInstanceType - The recommended EC2 instance type that will be used when recovering the Source Server.SourceProperties.Builder supportsNitroInstances(Boolean supportsNitroInstances)
Are EC2 nitro instance types supported when recovering the Source Server.
supportsNitroInstances - Are EC2 nitro instance types supported when recovering the Source Server.Copyright © 2023. All rights reserved.