Interface S3RepositoryDetails.Builder

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

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

    • bucketName

      S3RepositoryDetails.Builder bucketName(String bucketName)

      The name of the S3 bucket used for associating a new S3 repository. It must begin with codeguru-reviewer-.

      Parameters:
      bucketName - The name of the S3 bucket used for associating a new S3 repository. It must begin with codeguru-reviewer-.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • codeArtifacts

      S3RepositoryDetails.Builder codeArtifacts(CodeArtifacts codeArtifacts)

      A CodeArtifacts object. The CodeArtifacts object includes the S3 object key for a source code .zip file and for a build artifacts .zip file that contains .jar or .class files.

      Parameters:
      codeArtifacts - A CodeArtifacts object. The CodeArtifacts object includes the S3 object key for a source code .zip file and for a build artifacts .zip file that contains .jar or .class files.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • codeArtifacts

      default S3RepositoryDetails.Builder codeArtifacts(Consumer<CodeArtifacts.Builder> codeArtifacts)

      A CodeArtifacts object. The CodeArtifacts object includes the S3 object key for a source code .zip file and for a build artifacts .zip file that contains .jar or .class files.

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

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

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