Interface UpdatePackageGroupOriginConfigurationRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CodeartifactRequest.Builder,CopyableBuilder<UpdatePackageGroupOriginConfigurationRequest.Builder,UpdatePackageGroupOriginConfigurationRequest>,SdkBuilder<UpdatePackageGroupOriginConfigurationRequest.Builder,UpdatePackageGroupOriginConfigurationRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdatePackageGroupOriginConfigurationRequest
public static interface UpdatePackageGroupOriginConfigurationRequest.Builder extends CodeartifactRequest.Builder, SdkPojo, CopyableBuilder<UpdatePackageGroupOriginConfigurationRequest.Builder,UpdatePackageGroupOriginConfigurationRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdatePackageGroupOriginConfigurationRequest.BuilderaddAllowedRepositories(Collection<PackageGroupAllowedRepository> addAllowedRepositories)The repository name and restrictions to add to the allowed repository list of the specified package group.UpdatePackageGroupOriginConfigurationRequest.BuilderaddAllowedRepositories(Consumer<PackageGroupAllowedRepository.Builder>... addAllowedRepositories)The repository name and restrictions to add to the allowed repository list of the specified package group.UpdatePackageGroupOriginConfigurationRequest.BuilderaddAllowedRepositories(PackageGroupAllowedRepository... addAllowedRepositories)The repository name and restrictions to add to the allowed repository list of the specified package group.UpdatePackageGroupOriginConfigurationRequest.Builderdomain(String domain)The name of the domain which contains the package group for which to update the origin configuration.UpdatePackageGroupOriginConfigurationRequest.BuilderdomainOwner(String domainOwner)The 12-digit account number of the Amazon Web Services account that owns the domain.UpdatePackageGroupOriginConfigurationRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdatePackageGroupOriginConfigurationRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdatePackageGroupOriginConfigurationRequest.BuilderpackageGroup(String packageGroup)The pattern of the package group for which to update the origin configuration.UpdatePackageGroupOriginConfigurationRequest.BuilderremoveAllowedRepositories(Collection<PackageGroupAllowedRepository> removeAllowedRepositories)The repository name and restrictions to remove from the allowed repository list of the specified package group.UpdatePackageGroupOriginConfigurationRequest.BuilderremoveAllowedRepositories(Consumer<PackageGroupAllowedRepository.Builder>... removeAllowedRepositories)The repository name and restrictions to remove from the allowed repository list of the specified package group.UpdatePackageGroupOriginConfigurationRequest.BuilderremoveAllowedRepositories(PackageGroupAllowedRepository... removeAllowedRepositories)The repository name and restrictions to remove from the allowed repository list of the specified package group.UpdatePackageGroupOriginConfigurationRequest.Builderrestrictions(Map<PackageGroupOriginRestrictionType,PackageGroupOriginRestrictionMode> restrictions)The origin configuration settings that determine how package versions can enter repositories.UpdatePackageGroupOriginConfigurationRequest.BuilderrestrictionsWithStrings(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
domain
UpdatePackageGroupOriginConfigurationRequest.Builder domain(String 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
UpdatePackageGroupOriginConfigurationRequest.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.
- 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
UpdatePackageGroupOriginConfigurationRequest.Builder packageGroup(String 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.Builderavoiding the need to create one manually viaPackageGroupAllowedRepository.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#addAllowedRepositories(List.) - 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:
#addAllowedRepositories(java.util.Collection)
-
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.Builderavoiding the need to create one manually viaPackageGroupAllowedRepository.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#removeAllowedRepositories(List.) - 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:
#removeAllowedRepositories(java.util.Collection)
-
overrideConfiguration
UpdatePackageGroupOriginConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdatePackageGroupOriginConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-