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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PackageOriginRestrictions.Builderpublish(String publish)The package origin configuration that determines if new versions of the package can be published directly to the repository.PackageOriginRestrictions.Builderpublish(AllowPublish publish)The package origin configuration that determines if new versions of the package can be published directly to the repository.PackageOriginRestrictions.Builderupstream(String 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.PackageOriginRestrictions.Builderupstream(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 Detail
-
publish
PackageOriginRestrictions.Builder publish(String 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:
AllowPublish,AllowPublish
-
publish
PackageOriginRestrictions.Builder publish(AllowPublish 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:
AllowPublish,AllowPublish
-
upstream
PackageOriginRestrictions.Builder upstream(String 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:
AllowUpstream,AllowUpstream
-
upstream
PackageOriginRestrictions.Builder 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.
- 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:
AllowUpstream,AllowUpstream
-
-