Interface SigningRule.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SigningRule.Builder,SigningRule>,SdkBuilder<SigningRule.Builder,SigningRule>,SdkPojo
- Enclosing class:
- SigningRule
@Mutable @NotThreadSafe public static interface SigningRule.Builder extends SdkPojo, CopyableBuilder<SigningRule.Builder,SigningRule>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SigningRule.BuilderrepositoryFilters(Collection<SigningRepositoryFilter> repositoryFilters)A list of repository filters that determine which repositories have their images signed on push.SigningRule.BuilderrepositoryFilters(Consumer<SigningRepositoryFilter.Builder>... repositoryFilters)A list of repository filters that determine which repositories have their images signed on push.SigningRule.BuilderrepositoryFilters(SigningRepositoryFilter... repositoryFilters)A list of repository filters that determine which repositories have their images signed on push.SigningRule.BuildersigningProfileArn(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
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
-
signingProfileArn
SigningRule.Builder signingProfileArn(String 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
SigningRule.Builder repositoryFilters(Collection<SigningRepositoryFilter> 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(SigningRepositoryFilter... 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 to#repositoryFilters(List.) - 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:
#repositoryFilters(java.util.Collection)
-
-