Class CfnWirelessDevice.OtaaV11Property.Builder
java.lang.Object
software.amazon.awscdk.services.iotwireless.CfnWirelessDevice.OtaaV11Property.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWirelessDevice.OtaaV11Property>
- Enclosing interface:
CfnWirelessDevice.OtaaV11Property
@Stability(Stable)
public static final class CfnWirelessDevice.OtaaV11Property.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWirelessDevice.OtaaV11Property>
A builder for
CfnWirelessDevice.OtaaV11Property
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnWirelessDevice.OtaaV11Property.getAppKey()
build()
Builds the configured instance.Sets the value ofCfnWirelessDevice.OtaaV11Property.getJoinEui()
Sets the value ofCfnWirelessDevice.OtaaV11Property.getNwkKey()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
appKey
Sets the value ofCfnWirelessDevice.OtaaV11Property.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
-
joinEui
Sets the value ofCfnWirelessDevice.OtaaV11Property.getJoinEui()
- Parameters:
joinEui
- The JoinEUI value. This parameter is required.- Returns:
this
-
nwkKey
Sets the value ofCfnWirelessDevice.OtaaV11Property.getNwkKey()
- Parameters:
nwkKey
- The NwkKey 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 NwkKey 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.OtaaV11Property>
- Returns:
- a new instance of
CfnWirelessDevice.OtaaV11Property
- Throws:
NullPointerException
- if any required attribute was not provided
-