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