Class UpdateEncryption
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<UpdateEncryption.Builder,UpdateEncryption>
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal AlgorithmThe type of algorithm that is used for the encryption (such as aes128, aes192, or aes256).final StringThe type of algorithm that is used for the encryption (such as aes128, aes192, or aes256).static UpdateEncryption.Builderbuilder()final StringA 128-bit, 16-byte hex value represented by a 32-character string, to be used with the key for encrypting content.final StringdeviceId()The value of one of the devices that you configured with your digital rights management (DRM) platform key provider.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final KeyTypekeyType()The type of key that is used for the encryption.final StringThe type of key that is used for the encryption.final Stringregion()The AWS Region that the API Gateway proxy endpoint was created in.final StringAn identifier for the content.final StringroleArn()The ARN of the role that you created during setup (when you set up AWS Elemental MediaConnect as a trusted entity).final StringThe ARN of the secret that you created in AWS Secrets Manager to store the encryption key.static Class<? extends UpdateEncryption.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final Stringurl()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.ToCopyableBuilder
copy
-
Method Details
-
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:
-
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:
-
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
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
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:
-
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:
-
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
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
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
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
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
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateEncryption.Builder,UpdateEncryption> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-