Class CfnProtocolsListMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.fms.CfnProtocolsListMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnProtocolsListMixinProps>
- Enclosing interface:
CfnProtocolsListMixinProps
@Stability(Stable)
public static final class CfnProtocolsListMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnProtocolsListMixinProps>
A builder for
CfnProtocolsListMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnProtocolsListMixinProps.getListName()protocolsList(List<String> protocolsList) Sets the value ofCfnProtocolsListMixinProps.getProtocolsList()Sets the value ofCfnProtocolsListMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
listName
Sets the value ofCfnProtocolsListMixinProps.getListName()- Parameters:
listName- The name of the Firewall Manager protocols list.- Returns:
this
-
protocolsList
@Stability(Stable) public CfnProtocolsListMixinProps.Builder protocolsList(List<String> protocolsList) Sets the value ofCfnProtocolsListMixinProps.getProtocolsList()- Parameters:
protocolsList- An array of protocols in the Firewall Manager protocols list.- Returns:
this
-
tags
Sets the value ofCfnProtocolsListMixinProps.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<CfnProtocolsListMixinProps>- Returns:
- a new instance of
CfnProtocolsListMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-