Class CfnScopePropsMixin.TargetIdentifierProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.networkflowmonitor.CfnScopePropsMixin.TargetIdentifierProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnScopePropsMixin.TargetIdentifierProperty>
- Enclosing interface:
CfnScopePropsMixin.TargetIdentifierProperty
@Stability(Stable)
public static final class CfnScopePropsMixin.TargetIdentifierProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnScopePropsMixin.TargetIdentifierProperty>
A builder for
CfnScopePropsMixin.TargetIdentifierProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.targetId(CfnScopePropsMixin.TargetIdProperty targetId) Sets the value ofCfnScopePropsMixin.TargetIdentifierProperty.getTargetId()targetId(IResolvable targetId) Sets the value ofCfnScopePropsMixin.TargetIdentifierProperty.getTargetId()targetType(String targetType) Sets the value ofCfnScopePropsMixin.TargetIdentifierProperty.getTargetType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
targetId
@Stability(Stable) public CfnScopePropsMixin.TargetIdentifierProperty.Builder targetId(IResolvable targetId) Sets the value ofCfnScopePropsMixin.TargetIdentifierProperty.getTargetId()- Parameters:
targetId- A target ID is an internally-generated identifier for a target.- Returns:
this
-
targetId
@Stability(Stable) public CfnScopePropsMixin.TargetIdentifierProperty.Builder targetId(CfnScopePropsMixin.TargetIdProperty targetId) Sets the value ofCfnScopePropsMixin.TargetIdentifierProperty.getTargetId()- Parameters:
targetId- A target ID is an internally-generated identifier for a target.- Returns:
this
-
targetType
@Stability(Stable) public CfnScopePropsMixin.TargetIdentifierProperty.Builder targetType(String targetType) Sets the value ofCfnScopePropsMixin.TargetIdentifierProperty.getTargetType()- Parameters:
targetType- The type of the target. Currently always ACCOUNT.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnScopePropsMixin.TargetIdentifierProperty>- Returns:
- a new instance of
CfnScopePropsMixin.TargetIdentifierProperty - Throws:
NullPointerException- if any required attribute was not provided
-