Class UpdateEncryption
- java.lang.Object
-
- software.amazon.awssdk.services.mediaconnect.model.UpdateEncryption
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<UpdateEncryption.Builder,UpdateEncryption>
@Generated("software.amazon.awssdk:codegen") public final class UpdateEncryption extends Object implements SdkPojo, Serializable, ToCopyableBuilder<UpdateEncryption.Builder,UpdateEncryption>
Information about the encryption of the flow.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateEncryption.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Algorithmalgorithm()The type of algorithm that is used for the encryption (such as aes128, aes192, or aes256).StringalgorithmAsString()The type of algorithm that is used for the encryption (such as aes128, aes192, or aes256).static UpdateEncryption.Builderbuilder()StringconstantInitializationVector()A 128-bit, 16-byte hex value represented by a 32-character string, to be used with the key for encrypting content.StringdeviceId()The value of one of the devices that you configured with your digital rights management (DRM) platform key provider.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()KeyTypekeyType()The type of key that is used for the encryption.StringkeyTypeAsString()The type of key that is used for the encryption.Stringregion()The AWS Region that the API Gateway proxy endpoint was created in.StringresourceId()An identifier for the content.StringroleArn()The ARN of the role that you created during setup (when you set up AWS Elemental MediaConnect as a trusted entity).List<SdkField<?>>sdkFields()StringsecretArn()The ARN of the secret that you created in AWS Secrets Manager to store the encryption key.static Class<? extends UpdateEncryption.Builder>serializableBuilderClass()UpdateEncryption.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringurl()The URL from the API Gateway proxy that you set up to talk to your key server.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
algorithm
public final Algorithm algorithm()
The type of algorithm that is used for the encryption (such as aes128, aes192, or aes256).If the service returns an enum value that is not available in the current SDK version,
algorithmwill returnAlgorithm.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromalgorithmAsString().- Returns:
- The type of algorithm that is used for the encryption (such as aes128, aes192, or aes256).
- See Also:
Algorithm
-
algorithmAsString
public final String algorithmAsString()
The type of algorithm that is used for the encryption (such as aes128, aes192, or aes256).If the service returns an enum value that is not available in the current SDK version,
algorithmwill returnAlgorithm.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromalgorithmAsString().- Returns:
- The type of algorithm that is used for the encryption (such as aes128, aes192, or aes256).
- See Also:
Algorithm
-
constantInitializationVector
public final 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.- Returns:
- 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.
-
deviceId
public final 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.- Returns:
- 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.
-
keyType
public final 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).If the service returns an enum value that is not available in the current SDK version,
keyTypewill returnKeyType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromkeyTypeAsString().- Returns:
- The type of key that is used for the encryption. If no keyType is provided, the service will use the default setting (static-key).
- See Also:
KeyType
-
keyTypeAsString
public final String keyTypeAsString()
The type of key that is used for the encryption. If no keyType is provided, the service will use the default setting (static-key).If the service returns an enum value that is not available in the current SDK version,
keyTypewill returnKeyType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromkeyTypeAsString().- Returns:
- The type of key that is used for the encryption. If no keyType is provided, the service will use the default setting (static-key).
- See Also:
KeyType
-
region
public final 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.- Returns:
- 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.
-
resourceId
public final 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.- Returns:
- 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.
-
roleArn
public final String roleArn()
The ARN of the role that you created during setup (when you set up AWS Elemental MediaConnect as a trusted entity).- Returns:
- The ARN of the role that you created during setup (when you set up AWS Elemental MediaConnect as a trusted entity).
-
secretArn
public final 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.- Returns:
- 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.
-
url
public final String 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:
- 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.
-
toBuilder
public UpdateEncryption.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateEncryption.Builder,UpdateEncryption>
-
builder
public static UpdateEncryption.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateEncryption.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-