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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default LoRaWANGatewayCurrentVersion.BuildercurrentVersion(Consumer<LoRaWANGatewayVersion.Builder> currentVersion)The version of the gateways that should receive the update.LoRaWANGatewayCurrentVersion.BuildercurrentVersion(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
currentVersion
LoRaWANGatewayCurrentVersion.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 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.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)
-
-