Interface LoRaWANUpdateGatewayTaskEntry.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<LoRaWANUpdateGatewayTaskEntry.Builder,,LoRaWANUpdateGatewayTaskEntry> SdkBuilder<LoRaWANUpdateGatewayTaskEntry.Builder,,LoRaWANUpdateGatewayTaskEntry> SdkPojo
- Enclosing class:
LoRaWANUpdateGatewayTaskEntry
public static interface LoRaWANUpdateGatewayTaskEntry.Builder
extends SdkPojo, CopyableBuilder<LoRaWANUpdateGatewayTaskEntry.Builder,LoRaWANUpdateGatewayTaskEntry>
-
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.updateVersion(Consumer<LoRaWANGatewayVersion.Builder> updateVersion) The firmware version to update the gateway to.updateVersion(LoRaWANGatewayVersion updateVersion) The firmware version to update the gateway to.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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 LoRaWANUpdateGatewayTaskEntry.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.Builderavoiding the need to create one manually viaLoRaWANGatewayVersion.builder().When the
Consumercompletes,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:
-
updateVersion
The firmware version to update the gateway to.
- Parameters:
updateVersion- The firmware version to update the gateway to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updateVersion
default LoRaWANUpdateGatewayTaskEntry.Builder updateVersion(Consumer<LoRaWANGatewayVersion.Builder> updateVersion) The firmware version to update the gateway to.
This is a convenience method that creates an instance of theLoRaWANGatewayVersion.Builderavoiding the need to create one manually viaLoRaWANGatewayVersion.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toupdateVersion(LoRaWANGatewayVersion).- Parameters:
updateVersion- 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:
-