Class DestinationReference.Builder
java.lang.Object
software.amazon.awscdk.services.iotwireless.DestinationReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DestinationReference>
- Enclosing interface:
DestinationReference
@Stability(Stable)
public static final class DestinationReference.Builder
extends Object
implements software.amazon.jsii.Builder<DestinationReference>
A builder for
DestinationReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.destinationArn
(String destinationArn) Sets the value ofDestinationReference.getDestinationArn()
destinationName
(String destinationName) Sets the value ofDestinationReference.getDestinationName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
destinationArn
Sets the value ofDestinationReference.getDestinationArn()
- Parameters:
destinationArn
- The ARN of the Destination resource. This parameter is required.- Returns:
this
-
destinationName
Sets the value ofDestinationReference.getDestinationName()
- Parameters:
destinationName
- The Name of the Destination resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<DestinationReference>
- Returns:
- a new instance of
DestinationReference
- Throws:
NullPointerException
- if any required attribute was not provided
-