Class CfnApplicationsListPropsMixin.AppProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.fms.CfnApplicationsListPropsMixin.AppProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplicationsListPropsMixin.AppProperty>
- Enclosing interface:
CfnApplicationsListPropsMixin.AppProperty
@Stability(Stable)
public static final class CfnApplicationsListPropsMixin.AppProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplicationsListPropsMixin.AppProperty>
A builder for
CfnApplicationsListPropsMixin.AppProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnApplicationsListPropsMixin.AppProperty.getAppName()build()Builds the configured instance.Sets the value ofCfnApplicationsListPropsMixin.AppProperty.getPort()Sets the value ofCfnApplicationsListPropsMixin.AppProperty.getProtocol()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
appName
Sets the value ofCfnApplicationsListPropsMixin.AppProperty.getAppName()- Parameters:
appName- The application's name.- Returns:
this
-
port
Sets the value ofCfnApplicationsListPropsMixin.AppProperty.getPort()- Parameters:
port- The application's port number, for example 80.- Returns:
this
-
protocol
@Stability(Stable) public CfnApplicationsListPropsMixin.AppProperty.Builder protocol(String protocol) Sets the value ofCfnApplicationsListPropsMixin.AppProperty.getProtocol()- Parameters:
protocol- The IP protocol name or number. 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<CfnApplicationsListPropsMixin.AppProperty>- Returns:
- a new instance of
CfnApplicationsListPropsMixin.AppProperty - Throws:
NullPointerException- if any required attribute was not provided
-