Interface SigningPlatform.Builder

All Superinterfaces:
Buildable, CopyableBuilder<SigningPlatform.Builder,SigningPlatform>, SdkBuilder<SigningPlatform.Builder,SigningPlatform>, SdkPojo
Enclosing class:
SigningPlatform

public static interface SigningPlatform.Builder extends SdkPojo, CopyableBuilder<SigningPlatform.Builder,SigningPlatform>
  • Method Details

    • platformId

      SigningPlatform.Builder platformId(String platformId)

      The ID of a signing platform.

      Parameters:
      platformId - The ID of a signing platform.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • displayName

      SigningPlatform.Builder displayName(String displayName)

      The display name of a signing platform.

      Parameters:
      displayName - The display name of a signing platform.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • partner

      SigningPlatform.Builder partner(String partner)

      Any partner entities linked to a signing platform.

      Parameters:
      partner - Any partner entities linked to a signing platform.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • target

      The types of targets that can be signed by a signing platform.

      Parameters:
      target - The types of targets that can be signed by a signing platform.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • category

      SigningPlatform.Builder category(String category)

      The category of a signing platform.

      Parameters:
      category - The category of a signing platform.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • category

      SigningPlatform.Builder category(Category category)

      The category of a signing platform.

      Parameters:
      category - The category of a signing platform.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • signingConfiguration

      SigningPlatform.Builder signingConfiguration(SigningConfiguration signingConfiguration)

      The configuration of a signing platform. This includes the designated hash algorithm and encryption algorithm of a signing platform.

      Parameters:
      signingConfiguration - The configuration of a signing platform. This includes the designated hash algorithm and encryption algorithm of a signing platform.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • signingConfiguration

      default SigningPlatform.Builder signingConfiguration(Consumer<SigningConfiguration.Builder> signingConfiguration)

      The configuration of a signing platform. This includes the designated hash algorithm and encryption algorithm of a signing platform.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to signingConfiguration(SigningConfiguration).

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

      SigningPlatform.Builder signingImageFormat(SigningImageFormat signingImageFormat)
      Sets the value of the SigningImageFormat property for this object.
      Parameters:
      signingImageFormat - The new value for the SigningImageFormat property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • signingImageFormat

      default SigningPlatform.Builder signingImageFormat(Consumer<SigningImageFormat.Builder> signingImageFormat)
      Sets the value of the SigningImageFormat property for this object. This is a convenience method that creates an instance of the SigningImageFormat.Builder avoiding the need to create one manually via SigningImageFormat.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to signingImageFormat(SigningImageFormat).

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

      SigningPlatform.Builder maxSizeInMB(Integer maxSizeInMB)

      The maximum size (in MB) of code that can be signed by a signing platform.

      Parameters:
      maxSizeInMB - The maximum size (in MB) of code that can be signed by a signing platform.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • revocationSupported

      SigningPlatform.Builder revocationSupported(Boolean revocationSupported)

      Indicates whether revocation is supported for the platform.

      Parameters:
      revocationSupported - Indicates whether revocation is supported for the platform.
      Returns:
      Returns a reference to this object so that method calls can be chained together.