Interface RepositoryMetadata.Builder

    • Method Detail

      • accountId

        RepositoryMetadata.Builder accountId​(String accountId)

        The ID of the Amazon Web Services account associated with the repository.

        Parameters:
        accountId - The ID of the Amazon Web Services account associated with the repository.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • repositoryId

        RepositoryMetadata.Builder repositoryId​(String repositoryId)

        The ID of the repository.

        Parameters:
        repositoryId - The ID of the repository.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • repositoryName

        RepositoryMetadata.Builder repositoryName​(String repositoryName)

        The repository's name.

        Parameters:
        repositoryName - The repository's name.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • repositoryDescription

        RepositoryMetadata.Builder repositoryDescription​(String repositoryDescription)

        A comment or description about the repository.

        Parameters:
        repositoryDescription - A comment or description about the repository.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • defaultBranch

        RepositoryMetadata.Builder defaultBranch​(String defaultBranch)

        The repository's default branch name.

        Parameters:
        defaultBranch - The repository's default branch name.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastModifiedDate

        RepositoryMetadata.Builder lastModifiedDate​(Instant lastModifiedDate)

        The date and time the repository was last modified, in timestamp format.

        Parameters:
        lastModifiedDate - The date and time the repository was last modified, in timestamp format.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • creationDate

        RepositoryMetadata.Builder creationDate​(Instant creationDate)

        The date and time the repository was created, in timestamp format.

        Parameters:
        creationDate - The date and time the repository was created, in timestamp format.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • cloneUrlHttp

        RepositoryMetadata.Builder cloneUrlHttp​(String cloneUrlHttp)

        The URL to use for cloning the repository over HTTPS.

        Parameters:
        cloneUrlHttp - The URL to use for cloning the repository over HTTPS.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • cloneUrlSsh

        RepositoryMetadata.Builder cloneUrlSsh​(String cloneUrlSsh)

        The URL to use for cloning the repository over SSH.

        Parameters:
        cloneUrlSsh - The URL to use for cloning the repository over SSH.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • arn

        RepositoryMetadata.Builder arn​(String arn)

        The Amazon Resource Name (ARN) of the repository.

        Parameters:
        arn - The Amazon Resource Name (ARN) of the repository.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • kmsKeyId

        RepositoryMetadata.Builder kmsKeyId​(String kmsKeyId)

        The ID of the Key Management Service encryption key used to encrypt and decrypt the repository.

        Parameters:
        kmsKeyId - The ID of the Key Management Service encryption key used to encrypt and decrypt the repository.
        Returns:
        Returns a reference to this object so that method calls can be chained together.