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) Source Server CPUs.cpus
(Consumer<CPU.Builder>... cpus) Source Server CPUs.Source Server CPUs.disks
(Collection<Disk> disks) Source Server disks.disks
(Consumer<Disk.Builder>... disks) Source Server disks.Source Server disks.default SourceProperties.Builder
identificationHints
(Consumer<IdentificationHints.Builder> identificationHints) Source server identification hints.identificationHints
(IdentificationHints identificationHints) Source server identification hints.lastUpdatedDateTime
(String lastUpdatedDateTime) Source server last update date and time.networkInterfaces
(Collection<NetworkInterface> networkInterfaces) Source server network interfaces.networkInterfaces
(Consumer<NetworkInterface.Builder>... networkInterfaces) Source server network interfaces.networkInterfaces
(NetworkInterface... networkInterfaces) Source server network interfaces.default SourceProperties.Builder
os
(Consumer<OS.Builder> os) Source server OS.Source server OS.Source server RAM in bytes.recommendedInstanceType
(String recommendedInstanceType) Source server recommended instance type.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, sdkFields
-
Method Details
-
cpus
Source Server CPUs.
- Parameters:
cpus
- Source Server CPUs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cpus
Source Server CPUs.
- Parameters:
cpus
- Source Server CPUs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cpus
Source Server 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
Source Server disks.
- Parameters:
disks
- Source Server disks.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
disks
Source Server disks.
- Parameters:
disks
- Source Server disks.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
disks
Source Server 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
Source server identification hints.
- Parameters:
identificationHints
- Source server identification hints.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identificationHints
default SourceProperties.Builder identificationHints(Consumer<IdentificationHints.Builder> identificationHints) Source server identification hints.
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
Source server last update date and time.
- Parameters:
lastUpdatedDateTime
- Source server last update date and time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkInterfaces
Source server network interfaces.
- Parameters:
networkInterfaces
- Source server network interfaces.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkInterfaces
Source server network interfaces.
- Parameters:
networkInterfaces
- Source server network interfaces.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkInterfaces
Source server 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
Source server OS.
- Parameters:
os
- Source server OS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
os
Source server OS.
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
Source server RAM in bytes.
- Parameters:
ramBytes
- Source server RAM in bytes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendedInstanceType
Source server recommended instance type.
- Parameters:
recommendedInstanceType
- Source server recommended instance type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-