@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EncryptionKey extends Object implements Serializable, Cloneable, StructuredPojo
The encryption key used to encrypt this object.
| Constructor and Description |
|---|
EncryptionKey() |
| Modifier and Type | Method and Description |
|---|---|
EncryptionKey |
clone() |
boolean |
equals(Object obj) |
String |
getId()
The Amazon Resource Name (ARN) of the encryption key being used to encrypt the custom terminology.
|
String |
getType()
The type of encryption key used by Amazon Translate to encrypt custom terminologies.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setId(String id)
The Amazon Resource Name (ARN) of the encryption key being used to encrypt the custom terminology.
|
void |
setType(String type)
The type of encryption key used by Amazon Translate to encrypt custom terminologies.
|
String |
toString()
Returns a string representation of this object.
|
EncryptionKey |
withId(String id)
The Amazon Resource Name (ARN) of the encryption key being used to encrypt the custom terminology.
|
EncryptionKey |
withType(EncryptionKeyType type)
The type of encryption key used by Amazon Translate to encrypt custom terminologies.
|
EncryptionKey |
withType(String type)
The type of encryption key used by Amazon Translate to encrypt custom terminologies.
|
public void setType(String type)
The type of encryption key used by Amazon Translate to encrypt custom terminologies.
type - The type of encryption key used by Amazon Translate to encrypt custom terminologies.EncryptionKeyTypepublic String getType()
The type of encryption key used by Amazon Translate to encrypt custom terminologies.
EncryptionKeyTypepublic EncryptionKey withType(String type)
The type of encryption key used by Amazon Translate to encrypt custom terminologies.
type - The type of encryption key used by Amazon Translate to encrypt custom terminologies.EncryptionKeyTypepublic EncryptionKey withType(EncryptionKeyType type)
The type of encryption key used by Amazon Translate to encrypt custom terminologies.
type - The type of encryption key used by Amazon Translate to encrypt custom terminologies.EncryptionKeyTypepublic void setId(String id)
The Amazon Resource Name (ARN) of the encryption key being used to encrypt the custom terminology.
id - The Amazon Resource Name (ARN) of the encryption key being used to encrypt the custom terminology.public String getId()
The Amazon Resource Name (ARN) of the encryption key being used to encrypt the custom terminology.
public EncryptionKey withId(String id)
The Amazon Resource Name (ARN) of the encryption key being used to encrypt the custom terminology.
id - The Amazon Resource Name (ARN) of the encryption key being used to encrypt the custom terminology.public String toString()
toString in class ObjectObject.toString()public EncryptionKey clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.