Interface SourceProperties.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SourceProperties.Builder,SourceProperties>,SdkBuilder<SourceProperties.Builder,SourceProperties>,SdkPojo
- Enclosing class:
- SourceProperties
public static interface SourceProperties.Builder extends SdkPojo, CopyableBuilder<SourceProperties.Builder,SourceProperties>
-
-
Method Summary
-
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 Detail
-
cpus
SourceProperties.Builder cpus(Collection<CPU> 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
SourceProperties.Builder cpus(CPU... 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
SourceProperties.Builder cpus(Consumer<CPU.Builder>... cpus)
Source Server CPUs.
This is a convenience method that creates an instance of theCPU.Builderavoiding the need to create one manually viaCPU.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#cpus(List.) - 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:
#cpus(java.util.Collection)
-
disks
SourceProperties.Builder disks(Collection<Disk> 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
SourceProperties.Builder disks(Disk... 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
SourceProperties.Builder disks(Consumer<Disk.Builder>... disks)
Source Server disks.
This is a convenience method that creates an instance of theDisk.Builderavoiding the need to create one manually viaDisk.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#disks(List.) - 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:
#disks(java.util.Collection)
-
identificationHints
SourceProperties.Builder identificationHints(IdentificationHints 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.Builderavoiding the need to create one manually viaIdentificationHints.builder().When the
Consumercompletes,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:
identificationHints(IdentificationHints)
-
lastUpdatedDateTime
SourceProperties.Builder lastUpdatedDateTime(String 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
SourceProperties.Builder networkInterfaces(Collection<NetworkInterface> 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
SourceProperties.Builder networkInterfaces(NetworkInterface... 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
SourceProperties.Builder networkInterfaces(Consumer<NetworkInterface.Builder>... networkInterfaces)
Source server network interfaces.
This is a convenience method that creates an instance of theNetworkInterface.Builderavoiding the need to create one manually viaNetworkInterface.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#networkInterfaces(List.) - 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:
#networkInterfaces(java.util.Collection)
-
os
SourceProperties.Builder os(OS 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
default SourceProperties.Builder os(Consumer<OS.Builder> os)
Source server OS.
This is a convenience method that creates an instance of theOS.Builderavoiding the need to create one manually viaOS.builder().When the
Consumercompletes,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:
os(OS)
-
ramBytes
SourceProperties.Builder ramBytes(Long 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
SourceProperties.Builder recommendedInstanceType(String 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.
-
-