Class CfnScopePropsMixin.TargetResourceProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.networkflowmonitor.CfnScopePropsMixin.TargetResourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnScopePropsMixin.TargetResourceProperty>
- Enclosing interface:
CfnScopePropsMixin.TargetResourceProperty
@Stability(Stable)
public static final class CfnScopePropsMixin.TargetResourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnScopePropsMixin.TargetResourceProperty>
A builder for
CfnScopePropsMixin.TargetResourceProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnScopePropsMixin.TargetResourceProperty.getRegion()targetIdentifier(CfnScopePropsMixin.TargetIdentifierProperty targetIdentifier) Sets the value ofCfnScopePropsMixin.TargetResourceProperty.getTargetIdentifier()targetIdentifier(IResolvable targetIdentifier) Sets the value ofCfnScopePropsMixin.TargetResourceProperty.getTargetIdentifier()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
region
Sets the value ofCfnScopePropsMixin.TargetResourceProperty.getRegion()- Parameters:
region- The AWS Region for the target resource.- Returns:
this
-
targetIdentifier
@Stability(Stable) public CfnScopePropsMixin.TargetResourceProperty.Builder targetIdentifier(IResolvable targetIdentifier) Sets the value ofCfnScopePropsMixin.TargetResourceProperty.getTargetIdentifier()- Parameters:
targetIdentifier- A target identifier is a pair of identifying information for a scope target.- Returns:
this
-
targetIdentifier
@Stability(Stable) public CfnScopePropsMixin.TargetResourceProperty.Builder targetIdentifier(CfnScopePropsMixin.TargetIdentifierProperty targetIdentifier) Sets the value ofCfnScopePropsMixin.TargetResourceProperty.getTargetIdentifier()- Parameters:
targetIdentifier- A target identifier is a pair of identifying information for a scope target.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnScopePropsMixin.TargetResourceProperty>- Returns:
- a new instance of
CfnScopePropsMixin.TargetResourceProperty - Throws:
NullPointerException- if any required attribute was not provided
-