Interface RecoveryInstanceProperties.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RecoveryInstanceProperties.Builder,
,RecoveryInstanceProperties> SdkBuilder<RecoveryInstanceProperties.Builder,
,RecoveryInstanceProperties> SdkPojo
- Enclosing class:
RecoveryInstanceProperties
-
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<RecoveryInstanceDisk> disks) An array of disks.disks
(Consumer<RecoveryInstanceDisk.Builder>... disks) An array of disks.disks
(RecoveryInstanceDisk... disks) An array of disks.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 Recovery Instance 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.os
(Consumer<OS.Builder> os) Operating system.Operating system.The amount of RAM in bytes.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
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 theRecoveryInstanceDisk.Builder
avoiding the need to create one manually viaRecoveryInstanceDisk.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todisks(List<RecoveryInstanceDisk>)
.- Parameters:
disks
- a consumer that will call methods onRecoveryInstanceDisk.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 RecoveryInstanceProperties.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 Recovery Instance properties were last updated on.
- Parameters:
lastUpdatedDateTime
- The date and time the Recovery Instance properties were last updated on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkInterfaces
RecoveryInstanceProperties.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
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
RecoveryInstanceProperties.Builder networkInterfaces(Consumer<NetworkInterface.Builder>... 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.
-