Interface RecoveryInstanceProperties.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RecoveryInstanceProperties.Builder,RecoveryInstanceProperties>,SdkBuilder<RecoveryInstanceProperties.Builder,RecoveryInstanceProperties>,SdkPojo
- Enclosing class:
- RecoveryInstanceProperties
public static interface RecoveryInstanceProperties.Builder extends SdkPojo, CopyableBuilder<RecoveryInstanceProperties.Builder,RecoveryInstanceProperties>
-
-
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
RecoveryInstanceProperties.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
RecoveryInstanceProperties.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
RecoveryInstanceProperties.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
RecoveryInstanceProperties.Builder disks(Collection<RecoveryInstanceDisk> 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
RecoveryInstanceProperties.Builder disks(RecoveryInstanceDisk... 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
RecoveryInstanceProperties.Builder disks(Consumer<RecoveryInstanceDisk.Builder>... disks)
An array of disks.
This is a convenience method that creates an instance of theRecoveryInstanceDisk.Builderavoiding the need to create one manually viaRecoveryInstanceDisk.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 onRecoveryInstanceDisk.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#disks(java.util.Collection)
-
identificationHints
RecoveryInstanceProperties.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 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.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
RecoveryInstanceProperties.Builder lastUpdatedDateTime(String 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
RecoveryInstanceProperties.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
RecoveryInstanceProperties.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
RecoveryInstanceProperties.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 RecoveryInstanceProperties.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
RecoveryInstanceProperties.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.
-
-