@Generated(value="software.amazon.awssdk:codegen") public final class CreateHsmRequest extends CloudHsmRequest implements ToCopyableBuilder<CreateHsmRequest.Builder,CreateHsmRequest>
Contains the inputs for the CreateHsm operation.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateHsmRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateHsmRequest.Builder |
builder() |
String |
clientToken()
A user-defined token to ensure idempotence.
|
String |
eniIp()
The IP address to assign to the HSM's ENI.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
externalId()
The external ID from
IamRoleArn, if present. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
iamRoleArn()
The ARN of an IAM role to enable the AWS CloudHSM service to allocate an ENI on your behalf.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateHsmRequest.Builder> |
serializableBuilderClass() |
String |
sshKey()
The SSH public key to install on the HSM.
|
String |
subnetId()
The identifier of the subnet in your VPC in which to place the HSM.
|
SubscriptionType |
subscriptionType()
Returns the value of the SubscriptionType property for this object.
|
String |
subscriptionTypeAsString()
Returns the value of the SubscriptionType property for this object.
|
String |
syslogIp()
The IP address for the syslog monitoring server.
|
CreateHsmRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String subnetId()
The identifier of the subnet in your VPC in which to place the HSM.
public final String sshKey()
The SSH public key to install on the HSM.
public final String eniIp()
The IP address to assign to the HSM's ENI.
If an IP address is not specified, an IP address will be randomly chosen from the CIDR range of the subnet.
If an IP address is not specified, an IP address will be randomly chosen from the CIDR range of the subnet.
public final String iamRoleArn()
The ARN of an IAM role to enable the AWS CloudHSM service to allocate an ENI on your behalf.
public final String externalId()
The external ID from IamRoleArn, if present.
IamRoleArn, if present.public final SubscriptionType subscriptionType()
If the service returns an enum value that is not available in the current SDK version, subscriptionType
will return SubscriptionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from subscriptionTypeAsString().
SubscriptionTypepublic final String subscriptionTypeAsString()
If the service returns an enum value that is not available in the current SDK version, subscriptionType
will return SubscriptionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from subscriptionTypeAsString().
SubscriptionTypepublic final String clientToken()
A user-defined token to ensure idempotence. Subsequent calls to this operation with the same token will be ignored.
public final String syslogIp()
The IP address for the syslog monitoring server. The AWS CloudHSM service only supports one syslog monitoring server.
public CreateHsmRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateHsmRequest.Builder,CreateHsmRequest>toBuilder in class CloudHsmRequestpublic static CreateHsmRequest.Builder builder()
public static Class<? extends CreateHsmRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.