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