Interface LoRaWANGatewayCurrentVersion.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<LoRaWANGatewayCurrentVersion.Builder,
,LoRaWANGatewayCurrentVersion> SdkBuilder<LoRaWANGatewayCurrentVersion.Builder,
,LoRaWANGatewayCurrentVersion> SdkPojo
- Enclosing class:
LoRaWANGatewayCurrentVersion
public static interface LoRaWANGatewayCurrentVersion.Builder
extends SdkPojo, CopyableBuilder<LoRaWANGatewayCurrentVersion.Builder,LoRaWANGatewayCurrentVersion>
-
Method Summary
Modifier and TypeMethodDescriptioncurrentVersion
(Consumer<LoRaWANGatewayVersion.Builder> currentVersion) The version of the gateways that should receive the update.currentVersion
(LoRaWANGatewayVersion currentVersion) The version of the gateways that should receive the update.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
-
currentVersion
The version of the gateways that should receive the update.
- Parameters:
currentVersion
- The version of the gateways that should receive the update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentVersion
default LoRaWANGatewayCurrentVersion.Builder currentVersion(Consumer<LoRaWANGatewayVersion.Builder> currentVersion) The version of the gateways that should receive the update.
This is a convenience method that creates an instance of theLoRaWANGatewayVersion.Builder
avoiding the need to create one manually viaLoRaWANGatewayVersion.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocurrentVersion(LoRaWANGatewayVersion)
.- Parameters:
currentVersion
- a consumer that will call methods onLoRaWANGatewayVersion.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-