@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.EncryptionKeyType
public String getType()
The type of encryption key used by Amazon Translate to encrypt custom terminologies.
EncryptionKeyType
public 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.EncryptionKeyType
public 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.EncryptionKeyType
public 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 Object
Object.toString()
public EncryptionKey clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.