public static interface PutPackageOriginConfigurationRequest.Builder extends CodeartifactRequest.Builder, SdkPojo, CopyableBuilder<PutPackageOriginConfigurationRequest.Builder,PutPackageOriginConfigurationRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildPutPackageOriginConfigurationRequest.Builder domain(String domain)
The name of the domain that contains the repository that contains the package.
domain - The name of the domain that contains the repository that contains the package.PutPackageOriginConfigurationRequest.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.
domainOwner - The 12-digit account number of the Amazon Web Services account that owns the domain. It does not
include dashes or spaces.PutPackageOriginConfigurationRequest.Builder repository(String repository)
The name of the repository that contains the package.
repository - The name of the repository that contains the package.PutPackageOriginConfigurationRequest.Builder format(String format)
A format that specifies the type of the package to be updated.
format - A format that specifies the type of the package to be updated.PackageFormat,
PackageFormatPutPackageOriginConfigurationRequest.Builder format(PackageFormat format)
A format that specifies the type of the package to be updated.
format - A format that specifies the type of the package to be updated.PackageFormat,
PackageFormatPutPackageOriginConfigurationRequest.Builder namespace(String namespace)
The namespace of the package to be updated. The package component that specifies its namespace depends on its type. For example:
The namespace of a Maven package is its groupId.
The namespace of an npm package is its scope.
Python and NuGet packages do not contain a corresponding component, packages of those formats do not have a namespace.
The namespace of a generic package is its namespace.
namespace - The namespace of the package to be updated. The package component that specifies its namespace depends
on its type. For example:
The namespace of a Maven package is its groupId.
The namespace of an npm package is its scope.
Python and NuGet packages do not contain a corresponding component, packages of those formats do not have a namespace.
The namespace of a generic package is its namespace.
PutPackageOriginConfigurationRequest.Builder packageValue(String packageValue)
The name of the package to be updated.
packageValue - The name of the package to be updated.PutPackageOriginConfigurationRequest.Builder restrictions(PackageOriginRestrictions restrictions)
A
PackageOriginRestrictions object that contains information about the upstream and
publish package origin restrictions. The upstream restriction determines if new
package versions can be ingested or retained from external connections or upstream repositories. The
publish restriction determines if new package versions can be published directly to the
repository.
You must include both the desired upstream and publish restrictions.
restrictions - A PackageOriginRestrictions object that contains information about the upstream and
publish package origin restrictions. The upstream restriction determines if
new package versions can be ingested or retained from external connections or upstream repositories.
The publish restriction determines if new package versions can be published directly to
the repository.
You must include both the desired upstream and publish restrictions.
default PutPackageOriginConfigurationRequest.Builder restrictions(Consumer<PackageOriginRestrictions.Builder> restrictions)
A
PackageOriginRestrictions object that contains information about the upstream and
publish package origin restrictions. The upstream restriction determines if new
package versions can be ingested or retained from external connections or upstream repositories. The
publish restriction determines if new package versions can be published directly to the
repository.
You must include both the desired upstream and publish restrictions.
PackageOriginRestrictions.Builder
avoiding the need to create one manually via PackageOriginRestrictions.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to restrictions(PackageOriginRestrictions).
restrictions - a consumer that will call methods on PackageOriginRestrictions.Builderrestrictions(PackageOriginRestrictions)PutPackageOriginConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderPutPackageOriginConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.