Interface SigningRule.Builder

  • Method Details

    • 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 the SigningRepositoryFilter.Builder avoiding the need to create one manually via SigningRepositoryFilter.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to repositoryFilters(List<SigningRepositoryFilter>).

      Parameters:
      repositoryFilters - a consumer that will call methods on SigningRepositoryFilter.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: