Interface Encryption.Builder

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

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

    • algorithm

      Encryption.Builder algorithm(String algorithm)
      The type of algorithm that is used for the encryption (such as aes128, aes192, or aes256).
      Parameters:
      algorithm - The type of algorithm that is used for the encryption (such as aes128, aes192, or aes256).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • algorithm

      Encryption.Builder algorithm(Algorithm algorithm)
      The type of algorithm that is used for the encryption (such as aes128, aes192, or aes256).
      Parameters:
      algorithm - The type of algorithm that is used for the encryption (such as aes128, aes192, or aes256).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • constantInitializationVector

      Encryption.Builder constantInitializationVector(String constantInitializationVector)
      A 128-bit, 16-byte hex value represented by a 32-character string, to be used with the key for encrypting content. This parameter is not valid for static key encryption.
      Parameters:
      constantInitializationVector - A 128-bit, 16-byte hex value represented by a 32-character string, to be used with the key for encrypting content. This parameter is not valid for static key encryption.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deviceId

      Encryption.Builder deviceId(String deviceId)
      The value of one of the devices that you configured with your digital rights management (DRM) platform key provider. This parameter is required for SPEKE encryption and is not valid for static key encryption.
      Parameters:
      deviceId - The value of one of the devices that you configured with your digital rights management (DRM) platform key provider. This parameter is required for SPEKE encryption and is not valid for static key encryption.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • keyType

      Encryption.Builder keyType(String keyType)
      The type of key that is used for the encryption. If no keyType is provided, the service will use the default setting (static-key).
      Parameters:
      keyType - The type of key that is used for the encryption. If no keyType is provided, the service will use the default setting (static-key).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • keyType

      Encryption.Builder keyType(KeyType keyType)
      The type of key that is used for the encryption. If no keyType is provided, the service will use the default setting (static-key).
      Parameters:
      keyType - The type of key that is used for the encryption. If no keyType is provided, the service will use the default setting (static-key).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • region

      Encryption.Builder region(String region)
      The AWS Region that the API Gateway proxy endpoint was created in. This parameter is required for SPEKE encryption and is not valid for static key encryption.
      Parameters:
      region - The AWS Region that the API Gateway proxy endpoint was created in. This parameter is required for SPEKE encryption and is not valid for static key encryption.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceId

      Encryption.Builder resourceId(String resourceId)
      An identifier for the content. The service sends this value to the key server to identify the current endpoint. The resource ID is also known as the content ID. This parameter is required for SPEKE encryption and is not valid for static key encryption.
      Parameters:
      resourceId - An identifier for the content. The service sends this value to the key server to identify the current endpoint. The resource ID is also known as the content ID. This parameter is required for SPEKE encryption and is not valid for static key encryption.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • roleArn

      Encryption.Builder roleArn(String roleArn)
      The ARN of the role that you created during setup (when you set up AWS Elemental MediaConnect as a trusted entity).
      Parameters:
      roleArn - The ARN of the role that you created during setup (when you set up AWS Elemental MediaConnect as a trusted entity).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • secretArn

      Encryption.Builder secretArn(String secretArn)
      The ARN of the secret that you created in AWS Secrets Manager to store the encryption key. This parameter is required for static key encryption and is not valid for SPEKE encryption.
      Parameters:
      secretArn - The ARN of the secret that you created in AWS Secrets Manager to store the encryption key. This parameter is required for static key encryption and is not valid for SPEKE encryption.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • url

      The URL from the API Gateway proxy that you set up to talk to your key server. This parameter is required for SPEKE encryption and is not valid for static key encryption.
      Parameters:
      url - The URL from the API Gateway proxy that you set up to talk to your key server. This parameter is required for SPEKE encryption and is not valid for static key encryption.
      Returns:
      Returns a reference to this object so that method calls can be chained together.