Interface SigningConfiguration.Builder

    • Method Detail

      • rules

        SigningConfiguration.Builder rules​(Collection<SigningRule> rules)

        A list of signing rules. Each rule defines a signing profile and optional repository filters that determine which images are automatically signed. Maximum of 10 rules.

        Parameters:
        rules - A list of signing rules. Each rule defines a signing profile and optional repository filters that determine which images are automatically signed. Maximum of 10 rules.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • rules

        SigningConfiguration.Builder rules​(SigningRule... rules)

        A list of signing rules. Each rule defines a signing profile and optional repository filters that determine which images are automatically signed. Maximum of 10 rules.

        Parameters:
        rules - A list of signing rules. Each rule defines a signing profile and optional repository filters that determine which images are automatically signed. Maximum of 10 rules.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • rules

        SigningConfiguration.Builder rules​(Consumer<SigningRule.Builder>... rules)

        A list of signing rules. Each rule defines a signing profile and optional repository filters that determine which images are automatically signed. Maximum of 10 rules.

        This is a convenience method that creates an instance of the SigningRule.Builder avoiding the need to create one manually via SigningRule.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #rules(List).

        Parameters:
        rules - a consumer that will call methods on SigningRule.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #rules(java.util.Collection)