Class CfnWirelessDevice.OtaaV10xProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iotwireless.CfnWirelessDevice.OtaaV10xProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWirelessDevice.OtaaV10xProperty>
- Enclosing interface:
CfnWirelessDevice.OtaaV10xProperty
@Stability(Stable)
public static final class CfnWirelessDevice.OtaaV10xProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWirelessDevice.OtaaV10xProperty>
A builder for
CfnWirelessDevice.OtaaV10xProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnWirelessDevice.OtaaV10xProperty.getAppEui()
Sets the value ofCfnWirelessDevice.OtaaV10xProperty.getAppKey()
build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
appEui
Sets the value ofCfnWirelessDevice.OtaaV10xProperty.getAppEui()
- Parameters:
appEui
- The AppEUI value, with pattern of[a-fA-F0-9]{16}
. This parameter is required.- Returns:
this
-
appKey
Sets the value ofCfnWirelessDevice.OtaaV10xProperty.getAppKey()
- Parameters:
appKey
- The AppKey is a secret key, which you should handle in a similar way as you would an application password. This parameter is required. You can protect the AppKey value by storing it in the AWS Secrets Manager and use the secretsmanager to reference this value.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnWirelessDevice.OtaaV10xProperty>
- Returns:
- a new instance of
CfnWirelessDevice.OtaaV10xProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-