Class DeviceReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.networkmanager.DeviceReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DeviceReference>
- Enclosing interface:
DeviceReference
@Stability(Stable)
public static final class DeviceReference.Builder
extends Object
implements software.amazon.jsii.Builder<DeviceReference>
A builder for
DeviceReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofDeviceReference.getDeviceArn()Sets the value ofDeviceReference.getDeviceId()globalNetworkId(String globalNetworkId) Sets the value ofDeviceReference.getGlobalNetworkId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
deviceArn
Sets the value ofDeviceReference.getDeviceArn()- Parameters:
deviceArn- The ARN of the Device resource. This parameter is required.- Returns:
this
-
deviceId
Sets the value ofDeviceReference.getDeviceId()- Parameters:
deviceId- The DeviceId of the Device resource. This parameter is required.- Returns:
this
-
globalNetworkId
Sets the value ofDeviceReference.getGlobalNetworkId()- Parameters:
globalNetworkId- The GlobalNetworkId of the Device resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DeviceReference>- Returns:
- a new instance of
DeviceReference - Throws:
NullPointerException- if any required attribute was not provided
-