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