Class InputDecryptionSettings

java.lang.Object
software.amazon.awssdk.services.mediaconvert.model.InputDecryptionSettings
All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<InputDecryptionSettings.Builder,InputDecryptionSettings>

@Generated("software.amazon.awssdk:codegen") public final class InputDecryptionSettings extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InputDecryptionSettings.Builder,InputDecryptionSettings>
Settings for decrypting any input files that you encrypt before you upload them to Amazon S3. MediaConvert can decrypt files only when you use AWS Key Management Service (KMS) to encrypt the data key that you use to encrypt your content.
See Also:
  • Method Details

    • decryptionMode

      public final DecryptionMode decryptionMode()
      Specify the encryption mode that you used to encrypt your input files.

      If the service returns an enum value that is not available in the current SDK version, decryptionMode will return DecryptionMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from decryptionModeAsString().

      Returns:
      Specify the encryption mode that you used to encrypt your input files.
      See Also:
    • decryptionModeAsString

      public final String decryptionModeAsString()
      Specify the encryption mode that you used to encrypt your input files.

      If the service returns an enum value that is not available in the current SDK version, decryptionMode will return DecryptionMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from decryptionModeAsString().

      Returns:
      Specify the encryption mode that you used to encrypt your input files.
      See Also:
    • encryptedDecryptionKey

      public final String encryptedDecryptionKey()
      Warning! Don't provide your encryption key in plaintext. Your job settings could be intercepted, making your encrypted content vulnerable. Specify the encrypted version of the data key that you used to encrypt your content. The data key must be encrypted by AWS Key Management Service (KMS). The key can be 128, 192, or 256 bits.
      Returns:
      Warning! Don't provide your encryption key in plaintext. Your job settings could be intercepted, making your encrypted content vulnerable. Specify the encrypted version of the data key that you used to encrypt your content. The data key must be encrypted by AWS Key Management Service (KMS). The key can be 128, 192, or 256 bits.
    • initializationVector

      public final String initializationVector()
      Specify the initialization vector that you used when you encrypted your content before uploading it to Amazon S3. You can use a 16-byte initialization vector with any encryption mode. Or, you can use a 12-byte initialization vector with GCM or CTR. MediaConvert accepts only initialization vectors that are base64-encoded.
      Returns:
      Specify the initialization vector that you used when you encrypted your content before uploading it to Amazon S3. You can use a 16-byte initialization vector with any encryption mode. Or, you can use a 12-byte initialization vector with GCM or CTR. MediaConvert accepts only initialization vectors that are base64-encoded.
    • kmsKeyRegion

      public final String kmsKeyRegion()
      Specify the AWS Region for AWS Key Management Service (KMS) that you used to encrypt your data key, if that Region is different from the one you are using for AWS Elemental MediaConvert.
      Returns:
      Specify the AWS Region for AWS Key Management Service (KMS) that you used to encrypt your data key, if that Region is different from the one you are using for AWS Elemental MediaConvert.
    • toBuilder

      public InputDecryptionSettings.Builder toBuilder()
      Description copied from interface: ToCopyableBuilder
      Take this object and create a builder that contains all of the current property values of this object.
      Specified by:
      toBuilder in interface ToCopyableBuilder<InputDecryptionSettings.Builder,InputDecryptionSettings>
      Returns:
      a builder for type T
    • builder

      public static InputDecryptionSettings.Builder builder()
    • serializableBuilderClass

      public static Class<? extends InputDecryptionSettings.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class Object
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Description copied from interface: SdkPojo
      Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in an SdkPojo class, and is generated based on a service model.

      If an SdkPojo class does not have any inherited fields, equalsBySdkFields and equals are essentially the same.

      Specified by:
      equalsBySdkFields in interface SdkPojo
      Parameters:
      obj - the object to be compared with
      Returns:
      true if the other object equals to this object by sdk fields, false otherwise.
    • 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.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
      Returns:
      List of SdkField in this POJO. May be empty list but should never be null.