Class CfnConnector.ConnectorVpcLatticeEgressConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.transfer.CfnConnector.ConnectorVpcLatticeEgressConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnector.ConnectorVpcLatticeEgressConfigProperty>
- Enclosing interface:
CfnConnector.ConnectorVpcLatticeEgressConfigProperty
@Stability(Stable)
public static final class CfnConnector.ConnectorVpcLatticeEgressConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnector.ConnectorVpcLatticeEgressConfigProperty>
A builder for
CfnConnector.ConnectorVpcLatticeEgressConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.portNumber(Number portNumber) Sets the value ofCfnConnector.ConnectorVpcLatticeEgressConfigProperty.getPortNumber()resourceConfigurationArn(String resourceConfigurationArn)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
resourceConfigurationArn
@Stability(Stable) public CfnConnector.ConnectorVpcLatticeEgressConfigProperty.Builder resourceConfigurationArn(String resourceConfigurationArn) Sets the value ofCfnConnector.ConnectorVpcLatticeEgressConfigProperty.getResourceConfigurationArn()- Parameters:
resourceConfigurationArn- ARN of the VPC_LATTICE Resource Configuration that defines the target SFTP server location. This parameter is required. Must point to a valid Resource Configuration in the customer's VPC with appropriate network connectivity to the SFTP server.- Returns:
this
-
portNumber
@Stability(Stable) public CfnConnector.ConnectorVpcLatticeEgressConfigProperty.Builder portNumber(Number portNumber) Sets the value ofCfnConnector.ConnectorVpcLatticeEgressConfigProperty.getPortNumber()- Parameters:
portNumber- Port number for connecting to the SFTP server through VPC_LATTICE. Defaults to 22 if not specified. Must match the port on which the target SFTP server is listening.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConnector.ConnectorVpcLatticeEgressConfigProperty>- Returns:
- a new instance of
CfnConnector.ConnectorVpcLatticeEgressConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-