public static interface PutPackageOriginConfigurationResponse.Builder extends CodeartifactResponse.Builder, SdkPojo, CopyableBuilder<PutPackageOriginConfigurationResponse.Builder,PutPackageOriginConfigurationResponse>
| Modifier and Type | Method and Description |
|---|---|
default PutPackageOriginConfigurationResponse.Builder |
originConfiguration(Consumer<PackageOriginConfiguration.Builder> originConfiguration)
A
PackageOriginConfiguration object that describes the origin configuration set for the package.
|
PutPackageOriginConfigurationResponse.Builder |
originConfiguration(PackageOriginConfiguration originConfiguration)
A
PackageOriginConfiguration object that describes the origin configuration set for the package.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildPutPackageOriginConfigurationResponse.Builder originConfiguration(PackageOriginConfiguration originConfiguration)
A PackageOriginConfiguration object that describes the origin configuration set for the package. It contains a PackageOriginRestrictions object that describes how new versions of the package can be introduced to the repository.
originConfiguration - A PackageOriginConfiguration object that describes the origin configuration set for the package. It
contains a PackageOriginRestrictions object that describes how new versions of the package can be introduced
to the repository.default PutPackageOriginConfigurationResponse.Builder originConfiguration(Consumer<PackageOriginConfiguration.Builder> originConfiguration)
A PackageOriginConfiguration object that describes the origin configuration set for the package. It contains a PackageOriginRestrictions object that describes how new versions of the package can be introduced to the repository.
This is a convenience method that creates an instance of thePackageOriginConfiguration.Builder
avoiding the need to create one manually via PackageOriginConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to originConfiguration(PackageOriginConfiguration).
originConfiguration - a consumer that will call methods on PackageOriginConfiguration.BuilderoriginConfiguration(PackageOriginConfiguration)Copyright © 2023. All rights reserved.