Interface ServerlessFunction.Builder

  • Method Details

    • serverlessFunctionName

      ServerlessFunction.Builder serverlessFunctionName(String serverlessFunctionName)

      The name of the serverless function.

      Parameters:
      serverlessFunctionName - The name of the serverless function.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • runtime

      The runtime of the serverless function.

      Parameters:
      runtime - The runtime of the serverless function.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • version

      The version of the serverless function.

      Parameters:
      version - The version of the serverless function.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • codeDigest

      ServerlessFunction.Builder codeDigest(String codeDigest)

      The code digest of the serverless function.

      Parameters:
      codeDigest - The code digest of the serverless function.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastModifiedAt

      ServerlessFunction.Builder lastModifiedAt(Instant lastModifiedAt)

      The date and time the serverless function was last modified.

      Parameters:
      lastModifiedAt - The date and time the serverless function was last modified.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • networkId

      ServerlessFunction.Builder networkId(String networkId)

      The network ID associated with the serverless function.

      Parameters:
      networkId - The network ID associated with the serverless function.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subnetIds

      The subnet IDs associated with the serverless function.

      Parameters:
      subnetIds - The subnet IDs associated with the serverless function.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subnetIds

      ServerlessFunction.Builder subnetIds(String... subnetIds)

      The subnet IDs associated with the serverless function.

      Parameters:
      subnetIds - The subnet IDs associated with the serverless function.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • securityGroupIds

      ServerlessFunction.Builder securityGroupIds(Collection<String> securityGroupIds)

      The security group IDs associated with the serverless function.

      Parameters:
      securityGroupIds - The security group IDs associated with the serverless function.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • securityGroupIds

      ServerlessFunction.Builder securityGroupIds(String... securityGroupIds)

      The security group IDs associated with the serverless function.

      Parameters:
      securityGroupIds - The security group IDs associated with the serverless function.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • executionRole

      ServerlessFunction.Builder executionRole(String executionRole)

      The execution role of the serverless function.

      Parameters:
      executionRole - The execution role of the serverless function.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • packageType

      ServerlessFunction.Builder packageType(String packageType)

      The package type of the serverless function.

      Parameters:
      packageType - The package type of the serverless function.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • packageType

      ServerlessFunction.Builder packageType(PackageType packageType)

      The package type of the serverless function.

      Parameters:
      packageType - The package type of the serverless function.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • architecturesWithStrings

      ServerlessFunction.Builder architecturesWithStrings(Collection<String> architectures)

      The architectures of the serverless function.

      Parameters:
      architectures - The architectures of the serverless function.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • architecturesWithStrings

      ServerlessFunction.Builder architecturesWithStrings(String... architectures)

      The architectures of the serverless function.

      Parameters:
      architectures - The architectures of the serverless function.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • architectures

      ServerlessFunction.Builder architectures(Collection<Architecture> architectures)

      The architectures of the serverless function.

      Parameters:
      architectures - The architectures of the serverless function.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • architectures

      ServerlessFunction.Builder architectures(Architecture... architectures)

      The architectures of the serverless function.

      Parameters:
      architectures - The architectures of the serverless function.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • layers

      The layers of the serverless function.

      Parameters:
      layers - The layers of the serverless function.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • layers

      The layers of the serverless function.

      Parameters:
      layers - The layers of the serverless function.
      Returns:
      Returns a reference to this object so that method calls can be chained together.