@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Encryption extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
Encryption() |
Modifier and Type | Method and Description |
---|---|
Encryption |
clone() |
boolean |
equals(Object obj) |
String |
getAlgorithm()
The type of algorithm that is used for the encryption (such as aes128, aes192, or aes256).
|
String |
getKeyType()
The type of key that is used for the encryption.
|
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 that was assigned to the secret that you created in AWS Secrets Manager to store the encryption key.
|
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 |
setKeyType(String keyType)
The type of key that is used for the encryption.
|
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 that was assigned to the secret that you created in AWS Secrets Manager to store the encryption key.
|
String |
toString()
Returns a string representation of this object.
|
Encryption |
withAlgorithm(Algorithm algorithm)
The type of algorithm that is used for the encryption (such as aes128, aes192, or aes256).
|
Encryption |
withAlgorithm(String algorithm)
The type of algorithm that is used for the encryption (such as aes128, aes192, or aes256).
|
Encryption |
withKeyType(KeyType keyType)
The type of key that is used for the encryption.
|
Encryption |
withKeyType(String keyType)
The type of key that is used for the encryption.
|
Encryption |
withRoleArn(String roleArn)
The ARN of the role that you created during setup (when you set up AWS Elemental MediaConnect as a trusted
entity).
|
Encryption |
withSecretArn(String secretArn)
The ARN that was assigned to the secret that you created in AWS Secrets Manager to store the encryption key.
|
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 Encryption withAlgorithm(String algorithm)
algorithm
- The type of algorithm that is used for the encryption (such as aes128, aes192, or aes256).Algorithm
public Encryption withAlgorithm(Algorithm algorithm)
algorithm
- The type of algorithm that is used for the encryption (such as aes128, aes192, or aes256).Algorithm
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 Encryption 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 Encryption 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 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 Encryption 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 that was assigned to the secret that you created in AWS Secrets Manager to store the encryption
key.public String getSecretArn()
public Encryption withSecretArn(String secretArn)
secretArn
- The ARN that was assigned to the secret that you created in AWS Secrets Manager to store the encryption
key.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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.