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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default LoRaWANUpdateGatewayTaskEntry.BuildercurrentVersion(Consumer<LoRaWANGatewayVersion.Builder> currentVersion)The version of the gateways that should receive the update.LoRaWANUpdateGatewayTaskEntry.BuildercurrentVersion(LoRaWANGatewayVersion currentVersion)The version of the gateways that should receive the update.default LoRaWANUpdateGatewayTaskEntry.BuilderupdateVersion(Consumer<LoRaWANGatewayVersion.Builder> updateVersion)The firmware version to update the gateway to.LoRaWANUpdateGatewayTaskEntry.BuilderupdateVersion(LoRaWANGatewayVersion updateVersion)The firmware version to update the gateway to.-
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
-
currentVersion
LoRaWANUpdateGatewayTaskEntry.Builder currentVersion(LoRaWANGatewayVersion 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:
currentVersion(LoRaWANGatewayVersion)
-
updateVersion
LoRaWANUpdateGatewayTaskEntry.Builder updateVersion(LoRaWANGatewayVersion 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:
updateVersion(LoRaWANGatewayVersion)
-
-