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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description SourceProperties.Buildercpus(Collection<CPU> cpus)An array of CPUs.SourceProperties.Buildercpus(Consumer<CPU.Builder>... cpus)An array of CPUs.SourceProperties.Buildercpus(CPU... cpus)An array of CPUs.SourceProperties.Builderdisks(Collection<Disk> disks)An array of disks.SourceProperties.Builderdisks(Consumer<Disk.Builder>... disks)An array of disks.SourceProperties.Builderdisks(Disk... disks)An array of disks.default SourceProperties.BuilderidentificationHints(Consumer<IdentificationHints.Builder> identificationHints)Hints used to uniquely identify a machine.SourceProperties.BuilderidentificationHints(IdentificationHints identificationHints)Hints used to uniquely identify a machine.SourceProperties.BuilderlastUpdatedDateTime(String lastUpdatedDateTime)The date and time the Source Properties were last updated on.SourceProperties.BuildernetworkInterfaces(Collection<NetworkInterface> networkInterfaces)An array of network interfaces.SourceProperties.BuildernetworkInterfaces(Consumer<NetworkInterface.Builder>... networkInterfaces)An array of network interfaces.SourceProperties.BuildernetworkInterfaces(NetworkInterface... networkInterfaces)An array of network interfaces.default SourceProperties.Builderos(Consumer<OS.Builder> os)Operating system.SourceProperties.Builderos(OS os)Operating system.SourceProperties.BuilderramBytes(Long ramBytes)The amount of RAM in bytes.SourceProperties.BuilderrecommendedInstanceType(String recommendedInstanceType)The recommended EC2 instance type that will be used when recovering the Source Server.SourceProperties.BuildersupportsNitroInstances(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, sdkFields
-
-
-
-
Method Detail
-
cpus
SourceProperties.Builder cpus(Collection<CPU> 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
SourceProperties.Builder cpus(CPU... 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
SourceProperties.Builder cpus(Consumer<CPU.Builder>... cpus)
An array of 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)
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
SourceProperties.Builder disks(Disk... 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
SourceProperties.Builder disks(Consumer<Disk.Builder>... disks)
An array of 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)
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.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)
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
SourceProperties.Builder networkInterfaces(Collection<NetworkInterface> 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
SourceProperties.Builder networkInterfaces(NetworkInterface... 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
SourceProperties.Builder networkInterfaces(Consumer<NetworkInterface.Builder>... networkInterfaces)
An array of 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)
Operating system.
- Parameters:
os- Operating system.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
os
default SourceProperties.Builder os(Consumer<OS.Builder> os)
Operating system.
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)
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
SourceProperties.Builder recommendedInstanceType(String 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
SourceProperties.Builder supportsNitroInstances(Boolean 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.
-
-