@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Encryption extends Object implements Serializable, Cloneable, StructuredPojo
The parameters for encrypting content.
Constructor and Description |
---|
Encryption() |
Modifier and Type | Method and Description |
---|---|
Encryption |
clone() |
boolean |
equals(Object obj) |
String |
getConstantInitializationVector()
A 128-bit, 16-byte hex value represented by a 32-character string, used in conjunction with the key for
encrypting content.
|
EncryptionMethod |
getEncryptionMethod()
The encryption method to use.
|
Integer |
getKeyRotationIntervalSeconds()
The frequency (in seconds) of key changes for live workflows, in which content is streamed real time.
|
SpekeKeyProvider |
getSpekeKeyProvider()
The parameters for the SPEKE key provider.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setConstantInitializationVector(String constantInitializationVector)
A 128-bit, 16-byte hex value represented by a 32-character string, used in conjunction with the key for
encrypting content.
|
void |
setEncryptionMethod(EncryptionMethod encryptionMethod)
The encryption method to use.
|
void |
setKeyRotationIntervalSeconds(Integer keyRotationIntervalSeconds)
The frequency (in seconds) of key changes for live workflows, in which content is streamed real time.
|
void |
setSpekeKeyProvider(SpekeKeyProvider spekeKeyProvider)
The parameters for the SPEKE key provider.
|
String |
toString()
Returns a string representation of this object.
|
Encryption |
withConstantInitializationVector(String constantInitializationVector)
A 128-bit, 16-byte hex value represented by a 32-character string, used in conjunction with the key for
encrypting content.
|
Encryption |
withEncryptionMethod(EncryptionMethod encryptionMethod)
The encryption method to use.
|
Encryption |
withKeyRotationIntervalSeconds(Integer keyRotationIntervalSeconds)
The frequency (in seconds) of key changes for live workflows, in which content is streamed real time.
|
Encryption |
withSpekeKeyProvider(SpekeKeyProvider spekeKeyProvider)
The parameters for the SPEKE key provider.
|
public void setConstantInitializationVector(String constantInitializationVector)
A 128-bit, 16-byte hex value represented by a 32-character string, used in conjunction with the key for encrypting content. If you don't specify a value, then MediaPackage creates the constant initialization vector (IV).
constantInitializationVector
- A 128-bit, 16-byte hex value represented by a 32-character string, used in conjunction with the key for
encrypting content. If you don't specify a value, then MediaPackage creates the constant initialization
vector (IV).public String getConstantInitializationVector()
A 128-bit, 16-byte hex value represented by a 32-character string, used in conjunction with the key for encrypting content. If you don't specify a value, then MediaPackage creates the constant initialization vector (IV).
public Encryption withConstantInitializationVector(String constantInitializationVector)
A 128-bit, 16-byte hex value represented by a 32-character string, used in conjunction with the key for encrypting content. If you don't specify a value, then MediaPackage creates the constant initialization vector (IV).
constantInitializationVector
- A 128-bit, 16-byte hex value represented by a 32-character string, used in conjunction with the key for
encrypting content. If you don't specify a value, then MediaPackage creates the constant initialization
vector (IV).public void setEncryptionMethod(EncryptionMethod encryptionMethod)
The encryption method to use.
encryptionMethod
- The encryption method to use.public EncryptionMethod getEncryptionMethod()
The encryption method to use.
public Encryption withEncryptionMethod(EncryptionMethod encryptionMethod)
The encryption method to use.
encryptionMethod
- The encryption method to use.public void setKeyRotationIntervalSeconds(Integer keyRotationIntervalSeconds)
The frequency (in seconds) of key changes for live workflows, in which content is streamed real time. The service retrieves content keys before the live content begins streaming, and then retrieves them as needed over the lifetime of the workflow. By default, key rotation is set to 300 seconds (5 minutes), the minimum rotation interval, which is equivalent to setting it to 300. If you don't enter an interval, content keys aren't rotated.
The following example setting causes the service to rotate keys every thirty minutes: 1800
keyRotationIntervalSeconds
- The frequency (in seconds) of key changes for live workflows, in which content is streamed real time. The
service retrieves content keys before the live content begins streaming, and then retrieves them as needed
over the lifetime of the workflow. By default, key rotation is set to 300 seconds (5 minutes), the minimum
rotation interval, which is equivalent to setting it to 300. If you don't enter an interval, content keys
aren't rotated.
The following example setting causes the service to rotate keys every thirty minutes: 1800
public Integer getKeyRotationIntervalSeconds()
The frequency (in seconds) of key changes for live workflows, in which content is streamed real time. The service retrieves content keys before the live content begins streaming, and then retrieves them as needed over the lifetime of the workflow. By default, key rotation is set to 300 seconds (5 minutes), the minimum rotation interval, which is equivalent to setting it to 300. If you don't enter an interval, content keys aren't rotated.
The following example setting causes the service to rotate keys every thirty minutes: 1800
The following example setting causes the service to rotate keys every thirty minutes: 1800
public Encryption withKeyRotationIntervalSeconds(Integer keyRotationIntervalSeconds)
The frequency (in seconds) of key changes for live workflows, in which content is streamed real time. The service retrieves content keys before the live content begins streaming, and then retrieves them as needed over the lifetime of the workflow. By default, key rotation is set to 300 seconds (5 minutes), the minimum rotation interval, which is equivalent to setting it to 300. If you don't enter an interval, content keys aren't rotated.
The following example setting causes the service to rotate keys every thirty minutes: 1800
keyRotationIntervalSeconds
- The frequency (in seconds) of key changes for live workflows, in which content is streamed real time. The
service retrieves content keys before the live content begins streaming, and then retrieves them as needed
over the lifetime of the workflow. By default, key rotation is set to 300 seconds (5 minutes), the minimum
rotation interval, which is equivalent to setting it to 300. If you don't enter an interval, content keys
aren't rotated.
The following example setting causes the service to rotate keys every thirty minutes: 1800
public void setSpekeKeyProvider(SpekeKeyProvider spekeKeyProvider)
The parameters for the SPEKE key provider.
spekeKeyProvider
- The parameters for the SPEKE key provider.public SpekeKeyProvider getSpekeKeyProvider()
The parameters for the SPEKE key provider.
public Encryption withSpekeKeyProvider(SpekeKeyProvider spekeKeyProvider)
The parameters for the SPEKE key provider.
spekeKeyProvider
- The parameters for the SPEKE key provider.public String toString()
toString
in class Object
Object.toString()
public Encryption clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.