Interface RevisionConfig.Builder

  • Method Details

    • description

      RevisionConfig.Builder description(String description)

      A description of the revision.

      Parameters:
      description - A description of the revision.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • kmsKeyArn

      RevisionConfig.Builder kmsKeyArn(String kmsKeyArn)

      The Amazon Resource Name (ARN) of the AWS Key Management Service (AWS KMS) key used to encrypt the revision's code and environment variables.

      Parameters:
      kmsKeyArn - The Amazon Resource Name (ARN) of the AWS Key Management Service (AWS KMS) key used to encrypt the revision's code and environment variables.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • buildConfig

      RevisionConfig.Builder buildConfig(BuildConfig buildConfig)

      The build configuration for the revision.

      Parameters:
      buildConfig - The build configuration for the revision.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • buildConfig

      default RevisionConfig.Builder buildConfig(Consumer<BuildConfig.Builder> buildConfig)

      The build configuration for the revision.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to buildConfig(BuildConfig).

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

      RevisionConfig.Builder serviceConfig(ServiceConfig serviceConfig)

      The service configuration for the revision.

      Parameters:
      serviceConfig - The service configuration for the revision.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serviceConfig

      default RevisionConfig.Builder serviceConfig(Consumer<ServiceConfig.Builder> serviceConfig)

      The service configuration for the revision.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to serviceConfig(ServiceConfig).

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