@Generated(value="software.amazon.awssdk:codegen") public final class ModifyEbsDefaultKmsKeyIdRequest extends Ec2Request implements ToCopyableBuilder<ModifyEbsDefaultKmsKeyIdRequest.Builder,ModifyEbsDefaultKmsKeyIdRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
ModifyEbsDefaultKmsKeyIdRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static ModifyEbsDefaultKmsKeyIdRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
kmsKeyId()
The identifier of the AWS Key Management Service (AWS KMS) customer master key (CMK) to use for Amazon EBS
encryption.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ModifyEbsDefaultKmsKeyIdRequest.Builder> |
serializableBuilderClass() |
ModifyEbsDefaultKmsKeyIdRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String kmsKeyId()
The identifier of the AWS Key Management Service (AWS KMS) customer master key (CMK) to use for Amazon EBS
encryption. If this parameter is not specified, your AWS managed CMK for EBS is used. If KmsKeyId
is
specified, the encrypted state must be true
.
You can specify the CMK using any of the following:
Key ID. For example, 1234abcd-12ab-34cd-56ef-1234567890ab.
Key alias. For example, alias/ExampleAlias.
Key ARN. For example, arn:aws:kms:us-east-1:012345678910:key/1234abcd-12ab-34cd-56ef-1234567890ab.
Alias ARN. For example, arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias.
AWS authenticates the CMK asynchronously. Therefore, if you specify an ID, alias, or ARN that is not valid, the action can appear to complete, but eventually fails.
Amazon EBS does not support asymmetric CMKs.
KmsKeyId
is specified, the encrypted state must be true
.
You can specify the CMK using any of the following:
Key ID. For example, 1234abcd-12ab-34cd-56ef-1234567890ab.
Key alias. For example, alias/ExampleAlias.
Key ARN. For example, arn:aws:kms:us-east-1:012345678910:key/1234abcd-12ab-34cd-56ef-1234567890ab.
Alias ARN. For example, arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias.
AWS authenticates the CMK asynchronously. Therefore, if you specify an ID, alias, or ARN that is not valid, the action can appear to complete, but eventually fails.
Amazon EBS does not support asymmetric CMKs.
public ModifyEbsDefaultKmsKeyIdRequest.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<ModifyEbsDefaultKmsKeyIdRequest.Builder,ModifyEbsDefaultKmsKeyIdRequest>
toBuilder
in class Ec2Request
public static ModifyEbsDefaultKmsKeyIdRequest.Builder builder()
public static Class<? extends ModifyEbsDefaultKmsKeyIdRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode
in class AwsRequest
public final boolean equals(Object obj)
equals
in class AwsRequest
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2021. All rights reserved.