Interface VpcConfig.Builder

All Superinterfaces:
Buildable, CopyableBuilder<VpcConfig.Builder,VpcConfig>, SdkBuilder<VpcConfig.Builder,VpcConfig>, SdkPojo
Enclosing class:
VpcConfig

public static interface VpcConfig.Builder extends SdkPojo, CopyableBuilder<VpcConfig.Builder,VpcConfig>
  • Method Details

    • subnetIds

      VpcConfig.Builder subnetIds(Collection<String> subnetIds)

      The identifiers of the subnets that are associated with your Lambda function.

      Parameters:
      subnetIds - The identifiers of the subnets that are associated with your Lambda function.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subnetIds

      VpcConfig.Builder subnetIds(String... subnetIds)

      The identifiers of the subnets that are associated with your Lambda function.

      Parameters:
      subnetIds - The identifiers of the subnets that are associated with your Lambda function.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • vpcId

      VpcConfig.Builder vpcId(String vpcId)

      The identifier of the Amazon Virtual Private Cloud.

      Parameters:
      vpcId - The identifier of the Amazon Virtual Private Cloud.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • securityGroups

      VpcConfig.Builder securityGroups(Collection<SecurityGroup> securityGroups)

      The identifier of the security group attached to the Lambda function.

      Parameters:
      securityGroups - The identifier of the security group attached to the Lambda function.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • securityGroups

      VpcConfig.Builder securityGroups(SecurityGroup... securityGroups)

      The identifier of the security group attached to the Lambda function.

      Parameters:
      securityGroups - The identifier of the security group attached to the Lambda function.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • securityGroups

      VpcConfig.Builder securityGroups(Consumer<SecurityGroup.Builder>... securityGroups)

      The identifier of the security group attached to the Lambda function.

      This is a convenience method that creates an instance of the SecurityGroup.Builder avoiding the need to create one manually via SecurityGroup.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to securityGroups(List<SecurityGroup>).

      Parameters:
      securityGroups - a consumer that will call methods on SecurityGroup.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: