Class CfnApplicationsList.AppProperty.Builder
java.lang.Object
software.amazon.awscdk.services.fms.CfnApplicationsList.AppProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplicationsList.AppProperty>
- Enclosing interface:
CfnApplicationsList.AppProperty
@Stability(Stable)
public static final class CfnApplicationsList.AppProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplicationsList.AppProperty>
A builder for
CfnApplicationsList.AppProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnApplicationsList.AppProperty.getAppName()build()Builds the configured instance.Sets the value ofCfnApplicationsList.AppProperty.getPort()Sets the value ofCfnApplicationsList.AppProperty.getProtocol()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
appName
Sets the value ofCfnApplicationsList.AppProperty.getAppName()- Parameters:
appName- The application's name. This parameter is required.- Returns:
this
-
port
Sets the value ofCfnApplicationsList.AppProperty.getPort()- Parameters:
port- The application's port number, for example 80. This parameter is required.- Returns:
this
-
protocol
Sets the value ofCfnApplicationsList.AppProperty.getProtocol()- Parameters:
protocol- The IP protocol name or number. This parameter is required. The name can be one of tcp, udp, or icmp. For information on possible numbers, see Protocol Numbers (https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml).- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApplicationsList.AppProperty>- Returns:
- a new instance of
CfnApplicationsList.AppProperty - Throws:
NullPointerException- if any required attribute was not provided
-