@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateEncryption extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
UpdateEncryption() |
Modifier and Type | Method and Description |
---|---|
UpdateEncryption |
clone() |
boolean |
equals(Object obj) |
String |
getAlgorithm()
The type of algorithm that is used for the encryption (such as aes128, aes192, or aes256).
|
String |
getConstantInitializationVector()
A 128-bit, 16-byte hex value represented by a 32-character string, to be used with the key for encrypting
content.
|
String |
getDeviceId()
The value of one of the devices that you configured with your digital rights management (DRM) platform key
provider.
|
String |
getKeyType()
The type of key that is used for the encryption.
|
String |
getRegion()
The AWS Region that the API Gateway proxy endpoint was created in.
|
String |
getResourceId()
An identifier for the content.
|
String |
getRoleArn()
The ARN of the role that you created during setup (when you set up AWS Elemental MediaConnect as a trusted
entity).
|
String |
getSecretArn()
The ARN of the secret that you created in AWS Secrets Manager to store the encryption key.
|
String |
getUrl()
The URL from the API Gateway proxy that you set up to talk to your key server.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAlgorithm(String algorithm)
The type of algorithm that is used for the encryption (such as aes128, aes192, or aes256).
|
void |
setConstantInitializationVector(String constantInitializationVector)
A 128-bit, 16-byte hex value represented by a 32-character string, to be used with the key for encrypting
content.
|
void |
setDeviceId(String deviceId)
The value of one of the devices that you configured with your digital rights management (DRM) platform key
provider.
|
void |
setKeyType(String keyType)
The type of key that is used for the encryption.
|
void |
setRegion(String region)
The AWS Region that the API Gateway proxy endpoint was created in.
|
void |
setResourceId(String resourceId)
An identifier for the content.
|
void |
setRoleArn(String roleArn)
The ARN of the role that you created during setup (when you set up AWS Elemental MediaConnect as a trusted
entity).
|
void |
setSecretArn(String secretArn)
The ARN of the secret that you created in AWS Secrets Manager to store the encryption key.
|
void |
setUrl(String url)
The URL from the API Gateway proxy that you set up to talk to your key server.
|
String |
toString()
Returns a string representation of this object.
|
UpdateEncryption |
withAlgorithm(Algorithm algorithm)
The type of algorithm that is used for the encryption (such as aes128, aes192, or aes256).
|
UpdateEncryption |
withAlgorithm(String algorithm)
The type of algorithm that is used for the encryption (such as aes128, aes192, or aes256).
|
UpdateEncryption |
withConstantInitializationVector(String constantInitializationVector)
A 128-bit, 16-byte hex value represented by a 32-character string, to be used with the key for encrypting
content.
|
UpdateEncryption |
withDeviceId(String deviceId)
The value of one of the devices that you configured with your digital rights management (DRM) platform key
provider.
|
UpdateEncryption |
withKeyType(KeyType keyType)
The type of key that is used for the encryption.
|
UpdateEncryption |
withKeyType(String keyType)
The type of key that is used for the encryption.
|
UpdateEncryption |
withRegion(String region)
The AWS Region that the API Gateway proxy endpoint was created in.
|
UpdateEncryption |
withResourceId(String resourceId)
An identifier for the content.
|
UpdateEncryption |
withRoleArn(String roleArn)
The ARN of the role that you created during setup (when you set up AWS Elemental MediaConnect as a trusted
entity).
|
UpdateEncryption |
withSecretArn(String secretArn)
The ARN of the secret that you created in AWS Secrets Manager to store the encryption key.
|
UpdateEncryption |
withUrl(String url)
The URL from the API Gateway proxy that you set up to talk to your key server.
|
public void setAlgorithm(String algorithm)
algorithm
- The type of algorithm that is used for the encryption (such as aes128, aes192, or aes256).Algorithm
public String getAlgorithm()
Algorithm
public UpdateEncryption withAlgorithm(String algorithm)
algorithm
- The type of algorithm that is used for the encryption (such as aes128, aes192, or aes256).Algorithm
public UpdateEncryption withAlgorithm(Algorithm algorithm)
algorithm
- The type of algorithm that is used for the encryption (such as aes128, aes192, or aes256).Algorithm
public void setConstantInitializationVector(String constantInitializationVector)
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.public String getConstantInitializationVector()
public UpdateEncryption withConstantInitializationVector(String constantInitializationVector)
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.public void setDeviceId(String deviceId)
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.public String getDeviceId()
public UpdateEncryption withDeviceId(String deviceId)
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.public void setKeyType(String 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).KeyType
public String getKeyType()
KeyType
public UpdateEncryption withKeyType(String 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).KeyType
public UpdateEncryption withKeyType(KeyType 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).KeyType
public void setRegion(String region)
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.public String getRegion()
public UpdateEncryption withRegion(String region)
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.public void setResourceId(String resourceId)
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.public String getResourceId()
public UpdateEncryption withResourceId(String resourceId)
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.public void setRoleArn(String roleArn)
roleArn
- The ARN of the role that you created during setup (when you set up AWS Elemental MediaConnect as a trusted
entity).public String getRoleArn()
public UpdateEncryption withRoleArn(String roleArn)
roleArn
- The ARN of the role that you created during setup (when you set up AWS Elemental MediaConnect as a trusted
entity).public void setSecretArn(String secretArn)
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.public String getSecretArn()
public UpdateEncryption withSecretArn(String secretArn)
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.public void setUrl(String url)
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.public String getUrl()
public UpdateEncryption withUrl(String url)
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.public String toString()
toString
in class Object
Object.toString()
public UpdateEncryption clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.