Class CfnProtocolsListProps.Builder
java.lang.Object
software.amazon.awscdk.services.fms.CfnProtocolsListProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnProtocolsListProps>
- Enclosing interface:
CfnProtocolsListProps
@Stability(Stable)
public static final class CfnProtocolsListProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnProtocolsListProps>
A builder for
CfnProtocolsListProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnProtocolsListProps.getListName()protocolsList(List<String> protocolsList) Sets the value ofCfnProtocolsListProps.getProtocolsList()Sets the value ofCfnProtocolsListProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
listName
Sets the value ofCfnProtocolsListProps.getListName()- Parameters:
listName- The name of the Firewall Manager protocols list. This parameter is required.- Returns:
this
-
protocolsList
Sets the value ofCfnProtocolsListProps.getProtocolsList()- Parameters:
protocolsList- An array of protocols in the Firewall Manager protocols list. This parameter is required.- Returns:
this
-
tags
Sets the value ofCfnProtocolsListProps.getTags()- Parameters:
tags- An array of key-value pairs to apply to the protocols list.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnProtocolsListProps>- Returns:
- a new instance of
CfnProtocolsListProps - Throws:
NullPointerException- if any required attribute was not provided
-