Interface SigningRule.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SigningRule.Builder,,SigningRule> SdkBuilder<SigningRule.Builder,,SigningRule> SdkPojo
- Enclosing class:
SigningRule
-
Method Summary
Modifier and TypeMethodDescriptionrepositoryFilters(Collection<SigningRepositoryFilter> repositoryFilters) A list of repository filters that determine which repositories have their images signed on push.repositoryFilters(Consumer<SigningRepositoryFilter.Builder>... repositoryFilters) A list of repository filters that determine which repositories have their images signed on push.repositoryFilters(SigningRepositoryFilter... repositoryFilters) A list of repository filters that determine which repositories have their images signed on push.signingProfileArn(String signingProfileArn) The ARN of the Amazon Web Services Signer signing profile to use for signing images that match this rule.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
signingProfileArn
The ARN of the Amazon Web Services Signer signing profile to use for signing images that match this rule. For more information about signing profiles, see Signing profiles in the Amazon Web Services Signer Developer Guide.
- Parameters:
signingProfileArn- The ARN of the Amazon Web Services Signer signing profile to use for signing images that match this rule. For more information about signing profiles, see Signing profiles in the Amazon Web Services Signer Developer Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
repositoryFilters
A list of repository filters that determine which repositories have their images signed on push. If no filters are specified, all images pushed to the registry are signed using the rule's signing profile. Maximum of 100 filters per rule.
- Parameters:
repositoryFilters- A list of repository filters that determine which repositories have their images signed on push. If no filters are specified, all images pushed to the registry are signed using the rule's signing profile. Maximum of 100 filters per rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
repositoryFilters
A list of repository filters that determine which repositories have their images signed on push. If no filters are specified, all images pushed to the registry are signed using the rule's signing profile. Maximum of 100 filters per rule.
- Parameters:
repositoryFilters- A list of repository filters that determine which repositories have their images signed on push. If no filters are specified, all images pushed to the registry are signed using the rule's signing profile. Maximum of 100 filters per rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
repositoryFilters
SigningRule.Builder repositoryFilters(Consumer<SigningRepositoryFilter.Builder>... repositoryFilters) A list of repository filters that determine which repositories have their images signed on push. If no filters are specified, all images pushed to the registry are signed using the rule's signing profile. Maximum of 100 filters per rule.
This is a convenience method that creates an instance of theSigningRepositoryFilter.Builderavoiding the need to create one manually viaSigningRepositoryFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torepositoryFilters(List<SigningRepositoryFilter>).- Parameters:
repositoryFilters- a consumer that will call methods onSigningRepositoryFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-