Interface SourceProperties.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<SourceProperties.Builder,,- SourceProperties> - SdkBuilder<SourceProperties.Builder,,- SourceProperties> - SdkPojo
- Enclosing class:
- SourceProperties
- 
Method SummaryModifier 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.BuilderidentificationHints(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.Builderos(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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
cpusAn array of CPUs. - Parameters:
- cpus- An array of CPUs.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
cpusAn array of CPUs. - Parameters:
- cpus- An array of CPUs.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
cpusAn 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 tocpus(List<CPU>).- Parameters:
- cpus- a consumer that will call methods on- CPU.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
disksAn array of disks. - Parameters:
- disks- An array of disks.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
disksAn array of disks. - Parameters:
- disks- An array of disks.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
disksAn 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 todisks(List<Disk>).- Parameters:
- disks- a consumer that will call methods on- Disk.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
identificationHintsHints 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.
 
- 
identificationHintsdefault 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 on- IdentificationHints.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
lastUpdatedDateTimeThe 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.
 
- 
networkInterfacesAn 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.
 
- 
networkInterfacesAn 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.
 
- 
networkInterfacesAn 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 tonetworkInterfaces(List<NetworkInterface>).- Parameters:
- networkInterfaces- a consumer that will call methods on- NetworkInterface.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
osOperating system. - Parameters:
- os- Operating system.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
osOperating 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 on- OS.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
ramBytesThe 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.
 
- 
recommendedInstanceTypeThe 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.
 
- 
supportsNitroInstancesAre 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.
 
 
-