Class CfnProtocolsList.Builder
java.lang.Object
software.amazon.awscdk.services.fms.CfnProtocolsList.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnProtocolsList>
- Enclosing class:
CfnProtocolsList
@Stability(Stable)
public static final class CfnProtocolsList.Builder
extends Object
implements software.amazon.jsii.Builder<CfnProtocolsList>
A fluent builder for
CfnProtocolsList.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnProtocolsList.BuilderThe name of the Firewall Manager protocols list.protocolsList(List<String> protocolsList) An array of protocols in the Firewall Manager protocols list.An array of key-value pairs to apply to the protocols list.
-
Method Details
-
create
@Stability(Stable) public static CfnProtocolsList.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnProtocolsList.Builder.
-
listName
The name of the Firewall Manager protocols list.- Parameters:
listName- The name of the Firewall Manager protocols list. This parameter is required.- Returns:
this- See Also:
-
protocolsList
An array of protocols in the Firewall Manager protocols list.- Parameters:
protocolsList- An array of protocols in the Firewall Manager protocols list. This parameter is required.- Returns:
this- See Also:
-
tags
An array of key-value pairs to apply to the protocols list.- Parameters:
tags- An array of key-value pairs to apply to the protocols list. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnProtocolsList>- Returns:
- a newly built instance of
CfnProtocolsList.
-