Class DeviceProfileReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.iotwireless.DeviceProfileReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DeviceProfileReference>
- Enclosing interface:
DeviceProfileReference
@Stability(Stable)
public static final class DeviceProfileReference.Builder
extends Object
implements software.amazon.jsii.Builder<DeviceProfileReference>
A builder for
DeviceProfileReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.deviceProfileArn(String deviceProfileArn) Sets the value ofDeviceProfileReference.getDeviceProfileArn()deviceProfileId(String deviceProfileId) Sets the value ofDeviceProfileReference.getDeviceProfileId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
deviceProfileArn
Sets the value ofDeviceProfileReference.getDeviceProfileArn()- Parameters:
deviceProfileArn- The ARN of the DeviceProfile resource. This parameter is required.- Returns:
this
-
deviceProfileId
Sets the value ofDeviceProfileReference.getDeviceProfileId()- Parameters:
deviceProfileId- The Id of the DeviceProfile resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DeviceProfileReference>- Returns:
- a new instance of
DeviceProfileReference - Throws:
NullPointerException- if any required attribute was not provided
-