Interface AssociateRepositoriesRequest.Builder

  • Method Details

    • registryId

      The Amazon Web Services account ID that's associated with the public registry that contains the repositories to associate. If you do not specify a registry, the default public registry is assumed. You can specify only your own account ID. Cross-account access through a repository policy isn't supported for this operation.

      Parameters:
      registryId - The Amazon Web Services account ID that's associated with the public registry that contains the repositories to associate. If you do not specify a registry, the default public registry is assumed. You can specify only your own account ID. Cross-account access through a repository policy isn't supported for this operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • repositoryName

      AssociateRepositoriesRequest.Builder repositoryName(String repositoryName)

      The name of the source repository.

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

      AssociateRepositoriesRequest.Builder repositoryType(String repositoryType)

      The type of the source repository. Valid values:

      • FREE: A free repository.

      • PREMIUM: A premium repository that holds paid content.

      Parameters:
      repositoryType - The type of the source repository. Valid values:

      • FREE: A free repository.

      • PREMIUM: A premium repository that holds paid content.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • repositoryType

      AssociateRepositoriesRequest.Builder repositoryType(RepositoryType repositoryType)

      The type of the source repository. Valid values:

      • FREE: A free repository.

      • PREMIUM: A premium repository that holds paid content.

      Parameters:
      repositoryType - The type of the source repository. Valid values:

      • FREE: A free repository.

      • PREMIUM: A premium repository that holds paid content.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • associatedRepositoryName

      AssociateRepositoriesRequest.Builder associatedRepositoryName(String associatedRepositoryName)

      The name of the repository to associate with the source repository.

      Parameters:
      associatedRepositoryName - The name of the repository to associate with the source repository.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • associatedRepositoryType

      AssociateRepositoriesRequest.Builder associatedRepositoryType(String associatedRepositoryType)

      The type of the repository to associate with the source repository. This must be different from the type of the source repository. Valid values:

      • FREE: A free repository.

      • PREMIUM: A premium repository that holds paid content.

      Parameters:
      associatedRepositoryType - The type of the repository to associate with the source repository. This must be different from the type of the source repository. Valid values:

      • FREE: A free repository.

      • PREMIUM: A premium repository that holds paid content.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • associatedRepositoryType

      AssociateRepositoriesRequest.Builder associatedRepositoryType(RepositoryType associatedRepositoryType)

      The type of the repository to associate with the source repository. This must be different from the type of the source repository. Valid values:

      • FREE: A free repository.

      • PREMIUM: A premium repository that holds paid content.

      Parameters:
      associatedRepositoryType - The type of the repository to associate with the source repository. This must be different from the type of the source repository. Valid values:

      • FREE: A free repository.

      • PREMIUM: A premium repository that holds paid content.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      AssociateRepositoriesRequest.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.