Interface PackageOriginRestrictions.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PackageOriginRestrictions.Builder,
,PackageOriginRestrictions> SdkBuilder<PackageOriginRestrictions.Builder,
,PackageOriginRestrictions> SdkPojo
- Enclosing class:
PackageOriginRestrictions
public static interface PackageOriginRestrictions.Builder
extends SdkPojo, CopyableBuilder<PackageOriginRestrictions.Builder,PackageOriginRestrictions>
-
Method Summary
Modifier and TypeMethodDescriptionThe package origin configuration that determines if new versions of the package can be published directly to the repository.publish
(AllowPublish publish) The package origin configuration that determines if new versions of the package can be published directly to the repository.The package origin configuration that determines if new versions of the package can be added to the repository from an external connection or upstream source.upstream
(AllowUpstream upstream) The package origin configuration that determines if new versions of the package can be added to the repository from an external connection or upstream source.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
publish
The package origin configuration that determines if new versions of the package can be published directly to the repository.
- Parameters:
publish
- The package origin configuration that determines if new versions of the package can be published directly to the repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
publish
The package origin configuration that determines if new versions of the package can be published directly to the repository.
- Parameters:
publish
- The package origin configuration that determines if new versions of the package can be published directly to the repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
upstream
The package origin configuration that determines if new versions of the package can be added to the repository from an external connection or upstream source.
- Parameters:
upstream
- The package origin configuration that determines if new versions of the package can be added to the repository from an external connection or upstream source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
upstream
The package origin configuration that determines if new versions of the package can be added to the repository from an external connection or upstream source.
- Parameters:
upstream
- The package origin configuration that determines if new versions of the package can be added to the repository from an external connection or upstream source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-