@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 this object.
|
String |
getType()
The type of encryption key used by Amazon Translate to encrypt this object.
|
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 this object.
|
void |
setType(String type)
The type of encryption key used by Amazon Translate to encrypt this object.
|
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 this object.
|
EncryptionKey |
withType(EncryptionKeyType type)
The type of encryption key used by Amazon Translate to encrypt this object.
|
EncryptionKey |
withType(String type)
The type of encryption key used by Amazon Translate to encrypt this object.
|
public void setType(String type)
The type of encryption key used by Amazon Translate to encrypt this object.
type - The type of encryption key used by Amazon Translate to encrypt this object.EncryptionKeyTypepublic String getType()
The type of encryption key used by Amazon Translate to encrypt this object.
EncryptionKeyTypepublic EncryptionKey withType(String type)
The type of encryption key used by Amazon Translate to encrypt this object.
type - The type of encryption key used by Amazon Translate to encrypt this object.EncryptionKeyTypepublic EncryptionKey withType(EncryptionKeyType type)
The type of encryption key used by Amazon Translate to encrypt this object.
type - The type of encryption key used by Amazon Translate to encrypt this object.EncryptionKeyTypepublic void setId(String id)
The Amazon Resource Name (ARN) of the encryption key being used to encrypt this object.
id - The Amazon Resource Name (ARN) of the encryption key being used to encrypt this object.public String getId()
The Amazon Resource Name (ARN) of the encryption key being used to encrypt this object.
public EncryptionKey withId(String id)
The Amazon Resource Name (ARN) of the encryption key being used to encrypt this object.
id - The Amazon Resource Name (ARN) of the encryption key being used to encrypt this object.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.