@Generated(value="software.amazon.awssdk:codegen") public final class CreateCustomKeyStoreRequest extends KmsRequest implements ToCopyableBuilder<CreateCustomKeyStoreRequest.Builder,CreateCustomKeyStoreRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateCustomKeyStoreRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateCustomKeyStoreRequest.Builder |
builder() |
String |
cloudHsmClusterId()
Identifies the AWS CloudHSM cluster for the custom key store.
|
String |
customKeyStoreName()
Specifies a friendly name for the custom key store.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest. |
int |
hashCode() |
String |
keyStorePassword()
Enter the password of the
kmsuser crypto user (CU) account in the specified AWS CloudHSM cluster. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateCustomKeyStoreRequest.Builder> |
serializableBuilderClass() |
CreateCustomKeyStoreRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
trustAnchorCertificate()
Enter the content of the trust anchor certificate for the cluster.
|
overrideConfigurationcopypublic String customKeyStoreName()
Specifies a friendly name for the custom key store. The name must be unique in your AWS account.
public String cloudHsmClusterId()
Identifies the AWS CloudHSM cluster for the custom key store. Enter the cluster ID of any active AWS CloudHSM cluster that is not already associated with a custom key store. To find the cluster ID, use the DescribeClusters operation.
public String trustAnchorCertificate()
Enter the content of the trust anchor certificate for the cluster. This is the content of the
customerCA.crt file that you created when you initialized the cluster.
customerCA.crt file that you created when you initialized the
cluster.public String keyStorePassword()
Enter the password of the
kmsuser crypto user (CU) account in the specified AWS CloudHSM cluster. AWS KMS logs into the
cluster as this user to manage key material on your behalf.
This parameter tells AWS KMS the kmsuser account password; it does not change the password in the
AWS CloudHSM cluster.
kmsuser crypto user (CU) account in the specified AWS CloudHSM cluster. AWS KMS logs
into the cluster as this user to manage key material on your behalf.
This parameter tells AWS KMS the kmsuser account password; it does not change the password
in the AWS CloudHSM cluster.
public CreateCustomKeyStoreRequest.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<CreateCustomKeyStoreRequest.Builder,CreateCustomKeyStoreRequest>toBuilder in class KmsRequestpublic static CreateCustomKeyStoreRequest.Builder builder()
public static Class<? extends CreateCustomKeyStoreRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequestSdkRequest. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class) method will
again be available.getValueForField in class SdkRequestfieldName - The name of the member to be retrieved.clazz - The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.