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 Summary
Modifier and TypeMethodDescriptionThe type of algorithm that is used for the encryption (such as aes128, aes192, or aes256).The type of algorithm that is used for the encryption (such as aes128, aes192, or aes256).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.The value of one of the devices that you configured with your digital rights management (DRM) platform key provider.The type of key that is used for the encryption.The type of key that is used for the encryption.The AWS Region that the API Gateway proxy endpoint was created in.resourceId
(String resourceId) An identifier for the content.The ARN of the role that you created during setup (when you set up AWS Elemental MediaConnect as a trusted entity).The ARN of the secret that you created in AWS Secrets Manager to store the encryption key.The URL from the API Gateway proxy that you set up to talk to your key server.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, sdkFields
-
Method Details
-
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
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
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
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
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
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
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
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
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
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.
-