Class CfnDataflowEndpointGroupV2.SocketAddressProperty.Builder
java.lang.Object
software.amazon.awscdk.services.groundstation.CfnDataflowEndpointGroupV2.SocketAddressProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataflowEndpointGroupV2.SocketAddressProperty>
- Enclosing interface:
CfnDataflowEndpointGroupV2.SocketAddressProperty
@Stability(Stable)
public static final class CfnDataflowEndpointGroupV2.SocketAddressProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataflowEndpointGroupV2.SocketAddressProperty>
A builder for
CfnDataflowEndpointGroupV2.SocketAddressProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDataflowEndpointGroupV2.SocketAddressProperty.getName()Sets the value ofCfnDataflowEndpointGroupV2.SocketAddressProperty.getPort()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
@Stability(Stable) public CfnDataflowEndpointGroupV2.SocketAddressProperty.Builder name(String name) Sets the value ofCfnDataflowEndpointGroupV2.SocketAddressProperty.getName()- Parameters:
name- Name of a socket address. This parameter is required.- Returns:
this
-
port
@Stability(Stable) public CfnDataflowEndpointGroupV2.SocketAddressProperty.Builder port(Number port) Sets the value ofCfnDataflowEndpointGroupV2.SocketAddressProperty.getPort()- Parameters:
port- Port of a socket address. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataflowEndpointGroupV2.SocketAddressProperty>- Returns:
- a new instance of
CfnDataflowEndpointGroupV2.SocketAddressProperty - Throws:
NullPointerException- if any required attribute was not provided
-