Interface CreateRepositoryRequest.Builder

    • Method Detail

      • repositoryName

        CreateRepositoryRequest.Builder repositoryName​(String repositoryName)

        The name to use for the repository. This appears publicly in the Amazon ECR Public Gallery. The repository name can be specified on its own (for example nginx-web-app) or prepended with a namespace to group the repository into a category (for example project-a/nginx-web-app).

        Parameters:
        repositoryName - The name to use for the repository. This appears publicly in the Amazon ECR Public Gallery. The repository name can be specified on its own (for example nginx-web-app) or prepended with a namespace to group the repository into a category (for example project-a/nginx-web-app ).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • catalogData

        CreateRepositoryRequest.Builder catalogData​(RepositoryCatalogDataInput catalogData)

        The details about the repository that are publicly visible in the Amazon ECR Public Gallery.

        Parameters:
        catalogData - The details about the repository that are publicly visible in the Amazon ECR Public Gallery.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateRepositoryRequest.Builder tags​(Collection<Tag> tags)

        The metadata that you apply to each repository to help categorize and organize your repositories. Each tag consists of a key and an optional value. You define both of them. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.

        Parameters:
        tags - The metadata that you apply to each repository to help categorize and organize your repositories. Each tag consists of a key and an optional value. You define both of them. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateRepositoryRequest.Builder tags​(Tag... tags)

        The metadata that you apply to each repository to help categorize and organize your repositories. Each tag consists of a key and an optional value. You define both of them. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.

        Parameters:
        tags - The metadata that you apply to each repository to help categorize and organize your repositories. Each tag consists of a key and an optional value. You define both of them. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateRepositoryRequest.Builder tags​(Consumer<Tag.Builder>... tags)

        The metadata that you apply to each repository to help categorize and organize your repositories. Each tag consists of a key and an optional value. You define both of them. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.

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

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #tags(List).

        Parameters:
        tags - a consumer that will call methods on Tag.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #tags(java.util.Collection)