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