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