public class EncryptionKey extends Object implements Serializable
The encryption key used to encrypt the custom terminologies used by Amazon Translate.
Constructor and Description |
---|
EncryptionKey() |
Modifier and Type | Method and Description |
---|---|
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 |
setId(String id)
The Amazon Resource Name (ARN) of the encryption key being used to
encrypt the custom terminology.
|
void |
setType(EncryptionKeyType type)
The type of encryption key used by Amazon Translate to encrypt custom
terminologies.
|
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; useful for testing and
debugging.
|
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 String getType()
The type of encryption key used by Amazon Translate to encrypt custom terminologies.
Constraints:
Allowed Values: KMS
The type of encryption key used by Amazon Translate to encrypt custom terminologies.
EncryptionKeyType
public void setType(String type)
The type of encryption key used by Amazon Translate to encrypt custom terminologies.
Constraints:
Allowed Values: KMS
type
- 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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: KMS
type
- The type of encryption key used by Amazon Translate to encrypt custom terminologies.
EncryptionKeyType
public void setType(EncryptionKeyType type)
The type of encryption key used by Amazon Translate to encrypt custom terminologies.
Constraints:
Allowed Values: KMS
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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: KMS
type
- The type of encryption key used by Amazon Translate to encrypt custom terminologies.
EncryptionKeyType
public String getId()
The Amazon Resource Name (ARN) of the encryption key being used to encrypt the custom terminology.
Constraints:
Length: 1 - 400
Pattern:
(arn:aws((-us-gov)|(-cn))?:kms:)?([a-z]{2}-[a-z]+-\d:)?(\d
{12}:)?(((key/)?[a-zA-Z0-9-_]+)|(alias/[a-zA-Z0-9:/_-]+))
The Amazon Resource Name (ARN) of the encryption key being used to encrypt the custom terminology.
public void setId(String id)
The Amazon Resource Name (ARN) of the encryption key being used to encrypt the custom terminology.
Constraints:
Length: 1 - 400
Pattern:
(arn:aws((-us-gov)|(-cn))?:kms:)?([a-z]{2}-[a-z]+-\d:)?(\d
{12}:)?(((key/)?[a-zA-Z0-9-_]+)|(alias/[a-zA-Z0-9:/_-]+))
id
- 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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 400
Pattern:
(arn:aws((-us-gov)|(-cn))?:kms:)?([a-z]{2}-[a-z]+-\d:)?(\d
{12}:)?(((key/)?[a-zA-Z0-9-_]+)|(alias/[a-zA-Z0-9:/_-]+))
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()
Copyright © 2019. All rights reserved.