Interface SourceProperties.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SourceProperties.Builder,
,SourceProperties> SdkBuilder<SourceProperties.Builder,
,SourceProperties> SdkPojo
- Enclosing class:
SourceProperties
-
Method Summary
Modifier and TypeMethodDescriptioncpus
(Collection<CPU> cpus) An array of CPUs.cpus
(Consumer<CPU.Builder>... cpus) An array of CPUs.An array of CPUs.disks
(Collection<Disk> disks) An array of disks.disks
(Consumer<Disk.Builder>... disks) An array of disks.An array of disks.default SourceProperties.Builder
identificationHints
(Consumer<IdentificationHints.Builder> identificationHints) Hints used to uniquely identify a machine.identificationHints
(IdentificationHints identificationHints) Hints used to uniquely identify a machine.lastUpdatedDateTime
(String lastUpdatedDateTime) The date and time the Source Properties were last updated on.networkInterfaces
(Collection<NetworkInterface> networkInterfaces) An array of network interfaces.networkInterfaces
(Consumer<NetworkInterface.Builder>... networkInterfaces) An array of network interfaces.networkInterfaces
(NetworkInterface... networkInterfaces) An array of network interfaces.default SourceProperties.Builder
os
(Consumer<OS.Builder> os) Operating system.Operating system.The amount of RAM in bytes.recommendedInstanceType
(String recommendedInstanceType) The recommended EC2 instance type that will be used when recovering the Source Server.supportsNitroInstances
(Boolean supportsNitroInstances) Are EC2 nitro instance types supported when recovering the Source Server.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
cpus
An array of CPUs.
- Parameters:
cpus
- An array of CPUs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cpus
An array of CPUs.
- Parameters:
cpus
- An array of CPUs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cpus
An array of CPUs.
This is a convenience method that creates an instance of theCPU.Builder
avoiding the need to create one manually viaCPU.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocpus(List<CPU>)
.- Parameters:
cpus
- a consumer that will call methods onCPU.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
disks
An array of disks.
- Parameters:
disks
- An array of disks.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
disks
An array of disks.
- Parameters:
disks
- An array of disks.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
disks
An array of disks.
This is a convenience method that creates an instance of theDisk.Builder
avoiding the need to create one manually viaDisk.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todisks(List<Disk>)
.- Parameters:
disks
- a consumer that will call methods onDisk.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
identificationHints
Hints used to uniquely identify a machine.
- Parameters:
identificationHints
- Hints used to uniquely identify a machine.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identificationHints
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 viaIdentificationHints.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toidentificationHints(IdentificationHints)
.- Parameters:
identificationHints
- a consumer that will call methods onIdentificationHints.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastUpdatedDateTime
The date and time the Source Properties were last updated on.
- Parameters:
lastUpdatedDateTime
- The date and time the Source Properties were last updated on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkInterfaces
An array of network interfaces.
- Parameters:
networkInterfaces
- An array of network interfaces.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkInterfaces
An array of network interfaces.
- Parameters:
networkInterfaces
- An array of network interfaces.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaNetworkInterface.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonetworkInterfaces(List<NetworkInterface>)
.- Parameters:
networkInterfaces
- a consumer that will call methods onNetworkInterface.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
os
Operating system.
- Parameters:
os
- Operating system.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
os
Operating system.
This is a convenience method that creates an instance of theOS.Builder
avoiding the need to create one manually viaOS.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toos(OS)
.- Parameters:
os
- a consumer that will call methods onOS.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ramBytes
The amount of RAM in bytes.
- Parameters:
ramBytes
- The amount of RAM in bytes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendedInstanceType
The recommended EC2 instance type that will be used when recovering the Source Server.
- Parameters:
recommendedInstanceType
- The recommended EC2 instance type that will be used when recovering the Source Server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportsNitroInstances
Are EC2 nitro instance types supported when recovering the Source Server.
- Parameters:
supportsNitroInstances
- Are EC2 nitro instance types supported when recovering the Source Server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-