Interface S3BucketRepository.Builder

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

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

    • name

      The name of the repository when the ProviderType is S3Bucket.

      Parameters:
      name - The name of the repository when the ProviderType is S3Bucket.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • details

      An S3RepositoryDetails object that specifies the name of an S3 bucket and a CodeArtifacts object. The CodeArtifacts object includes the S3 object keys for a source code .zip file and for a build artifacts .zip file.

      Parameters:
      details - An S3RepositoryDetails object that specifies the name of an S3 bucket and a CodeArtifacts object. The CodeArtifacts object includes the S3 object keys for a source code .zip file and for a build artifacts .zip file.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • details

      An S3RepositoryDetails object that specifies the name of an S3 bucket and a CodeArtifacts object. The CodeArtifacts object includes the S3 object keys for a source code .zip file and for a build artifacts .zip file.

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

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

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