Interface DescribePackageRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CodeartifactRequest.Builder, CopyableBuilder<DescribePackageRequest.Builder,DescribePackageRequest>, SdkBuilder<DescribePackageRequest.Builder,DescribePackageRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
DescribePackageRequest

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

    • domain

      The name of the domain that contains the repository that contains the package.

      Parameters:
      domain - The name of the domain that contains the repository that contains the package.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • domainOwner

      DescribePackageRequest.Builder domainOwner(String domainOwner)

      The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

      Parameters:
      domainOwner - The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • repository

      DescribePackageRequest.Builder repository(String repository)

      The name of the repository that contains the requested package.

      Parameters:
      repository - The name of the repository that contains the requested package.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • format

      A format that specifies the type of the requested package.

      Parameters:
      format - A format that specifies the type of the requested package.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • format

      A format that specifies the type of the requested package.

      Parameters:
      format - A format that specifies the type of the requested package.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • namespace

      DescribePackageRequest.Builder namespace(String namespace)

      The namespace of the requested package. The package component that specifies its namespace depends on its type. For example:

      The namespace is required when requesting packages of the following formats:

      • Maven

      • Swift

      • generic

      • The namespace of a Maven package version is its groupId.

      • The namespace of an npm or Swift package version is its scope.

      • The namespace of a generic package is its namespace.

      • Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.

      Parameters:
      namespace - The namespace of the requested package. The package component that specifies its namespace depends on its type. For example:

      The namespace is required when requesting packages of the following formats:

      • Maven

      • Swift

      • generic

      • The namespace of a Maven package version is its groupId.

      • The namespace of an npm or Swift package version is its scope.

      • The namespace of a generic package is its namespace.

      • Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.

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

      DescribePackageRequest.Builder packageValue(String packageValue)

      The name of the requested package.

      Parameters:
      packageValue - The name of the requested package.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

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