Interface UpdatePackageGroupOriginConfigurationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CodeartifactRequest.Builder
,CopyableBuilder<UpdatePackageGroupOriginConfigurationRequest.Builder,
,UpdatePackageGroupOriginConfigurationRequest> SdkBuilder<UpdatePackageGroupOriginConfigurationRequest.Builder,
,UpdatePackageGroupOriginConfigurationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdatePackageGroupOriginConfigurationRequest
-
Method Summary
Modifier and TypeMethodDescriptionaddAllowedRepositories
(Collection<PackageGroupAllowedRepository> addAllowedRepositories) The repository name and restrictions to add to the allowed repository list of the specified package group.addAllowedRepositories
(Consumer<PackageGroupAllowedRepository.Builder>... addAllowedRepositories) The repository name and restrictions to add to the allowed repository list of the specified package group.addAllowedRepositories
(PackageGroupAllowedRepository... addAllowedRepositories) The repository name and restrictions to add to the allowed repository list of the specified package group.The name of the domain which contains the package group for which to update the origin configuration.domainOwner
(String domainOwner) The 12-digit account number of the Amazon Web Services account that owns the domain.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.packageGroup
(String packageGroup) The pattern of the package group for which to update the origin configuration.removeAllowedRepositories
(Collection<PackageGroupAllowedRepository> removeAllowedRepositories) The repository name and restrictions to remove from the allowed repository list of the specified package group.removeAllowedRepositories
(Consumer<PackageGroupAllowedRepository.Builder>... removeAllowedRepositories) The repository name and restrictions to remove from the allowed repository list of the specified package group.removeAllowedRepositories
(PackageGroupAllowedRepository... removeAllowedRepositories) The repository name and restrictions to remove from the allowed repository list of the specified package group.The origin configuration settings that determine how package versions can enter repositories.restrictionsWithStrings
(Map<String, String> restrictions) The origin configuration settings that determine how package versions can enter repositories.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.codeartifact.model.CodeartifactRequest.Builder
build
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
-
domain
The name of the domain which contains the package group for which to update the origin configuration.
- Parameters:
domain
- The name of the domain which contains the package group for which to update the origin configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
packageGroup
The pattern of the package group for which to update the origin configuration.
- Parameters:
packageGroup
- The pattern of the package group for which to update the origin configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
restrictionsWithStrings
UpdatePackageGroupOriginConfigurationRequest.Builder restrictionsWithStrings(Map<String, String> restrictions) The origin configuration settings that determine how package versions can enter repositories.
- Parameters:
restrictions
- The origin configuration settings that determine how package versions can enter repositories.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
restrictions
UpdatePackageGroupOriginConfigurationRequest.Builder restrictions(Map<PackageGroupOriginRestrictionType, PackageGroupOriginRestrictionMode> restrictions) The origin configuration settings that determine how package versions can enter repositories.
- Parameters:
restrictions
- The origin configuration settings that determine how package versions can enter repositories.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addAllowedRepositories
UpdatePackageGroupOriginConfigurationRequest.Builder addAllowedRepositories(Collection<PackageGroupAllowedRepository> addAllowedRepositories) The repository name and restrictions to add to the allowed repository list of the specified package group.
- Parameters:
addAllowedRepositories
- The repository name and restrictions to add to the allowed repository list of the specified package group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addAllowedRepositories
UpdatePackageGroupOriginConfigurationRequest.Builder addAllowedRepositories(PackageGroupAllowedRepository... addAllowedRepositories) The repository name and restrictions to add to the allowed repository list of the specified package group.
- Parameters:
addAllowedRepositories
- The repository name and restrictions to add to the allowed repository list of the specified package group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addAllowedRepositories
UpdatePackageGroupOriginConfigurationRequest.Builder addAllowedRepositories(Consumer<PackageGroupAllowedRepository.Builder>... addAllowedRepositories) The repository name and restrictions to add to the allowed repository list of the specified package group.
This is a convenience method that creates an instance of thePackageGroupAllowedRepository.Builder
avoiding the need to create one manually viaPackageGroupAllowedRepository.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaddAllowedRepositories(List<PackageGroupAllowedRepository>)
.- Parameters:
addAllowedRepositories
- a consumer that will call methods onPackageGroupAllowedRepository.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
removeAllowedRepositories
UpdatePackageGroupOriginConfigurationRequest.Builder removeAllowedRepositories(Collection<PackageGroupAllowedRepository> removeAllowedRepositories) The repository name and restrictions to remove from the allowed repository list of the specified package group.
- Parameters:
removeAllowedRepositories
- The repository name and restrictions to remove from the allowed repository list of the specified package group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
removeAllowedRepositories
UpdatePackageGroupOriginConfigurationRequest.Builder removeAllowedRepositories(PackageGroupAllowedRepository... removeAllowedRepositories) The repository name and restrictions to remove from the allowed repository list of the specified package group.
- Parameters:
removeAllowedRepositories
- The repository name and restrictions to remove from the allowed repository list of the specified package group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
removeAllowedRepositories
UpdatePackageGroupOriginConfigurationRequest.Builder removeAllowedRepositories(Consumer<PackageGroupAllowedRepository.Builder>... removeAllowedRepositories) The repository name and restrictions to remove from the allowed repository list of the specified package group.
This is a convenience method that creates an instance of thePackageGroupAllowedRepository.Builder
avoiding the need to create one manually viaPackageGroupAllowedRepository.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toremoveAllowedRepositories(List<PackageGroupAllowedRepository>)
.- Parameters:
removeAllowedRepositories
- a consumer that will call methods onPackageGroupAllowedRepository.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdatePackageGroupOriginConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdatePackageGroupOriginConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-