Interface CreateRepositoryRequest.Builder

  • Method Details

    • 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

      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.
    • catalogData

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

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

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

      Parameters:
      catalogData - a consumer that will call methods on RepositoryCatalogDataInput.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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

      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<Tag>).

      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:
    • overrideConfiguration

      CreateRepositoryRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.