@Generated(value="software.amazon.awssdk:codegen") public final class EncryptionKey extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EncryptionKey.Builder,EncryptionKey>
The encryption key used to encrypt the custom terminologies used by Amazon Translate.
| Modifier and Type | Class and Description |
|---|---|
static interface |
EncryptionKey.Builder |
| Modifier and Type | Method and Description |
|---|---|
static EncryptionKey.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The Amazon Resource Name (ARN) of the encryption key being used to encrypt the custom terminology.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends EncryptionKey.Builder> |
serializableBuilderClass() |
EncryptionKey.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
EncryptionKeyType |
type()
The type of encryption key used by Amazon Translate to encrypt custom terminologies.
|
String |
typeAsString()
The type of encryption key used by Amazon Translate to encrypt custom terminologies.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic EncryptionKeyType type()
The type of encryption key used by Amazon Translate to encrypt custom terminologies.
If the service returns an enum value that is not available in the current SDK version, type will return
EncryptionKeyType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
EncryptionKeyTypepublic String typeAsString()
The type of encryption key used by Amazon Translate to encrypt custom terminologies.
If the service returns an enum value that is not available in the current SDK version, type will return
EncryptionKeyType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
EncryptionKeyTypepublic String id()
The Amazon Resource Name (ARN) of the encryption key being used to encrypt the custom terminology.
public EncryptionKey.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<EncryptionKey.Builder,EncryptionKey>public static EncryptionKey.Builder builder()
public static Class<? extends EncryptionKey.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.