@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) |
<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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
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.
|
copy
public 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()
.
EncryptionKeyType
public 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()
.
EncryptionKeyType
public String id()
The Amazon Resource Name (ARN) of the encryption key being used to encrypt the custom terminology.
public EncryptionKey.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<EncryptionKey.Builder,EncryptionKey>
public static EncryptionKey.Builder builder()
public static Class<? extends EncryptionKey.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.