@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) |
String |
externalId()
The external ID from
IamRoleArn , if present. |
<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 |
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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public String subnetId()
The identifier of the subnet in your VPC in which to place the HSM.
public String sshKey()
The SSH public key to install on the HSM.
public 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 String iamRoleArn()
The ARN of an IAM role to enable the AWS CloudHSM service to allocate an ENI on your behalf.
public String externalId()
The external ID from IamRoleArn
, if present.
IamRoleArn
, if present.public 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()
.
SubscriptionType
public 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()
.
SubscriptionType
public String clientToken()
A user-defined token to ensure idempotence. Subsequent calls to this operation with the same token will be ignored.
public String syslogIp()
The IP address for the syslog monitoring server. The AWS CloudHSM service only supports one syslog monitoring server.
public CreateHsmRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateHsmRequest.Builder,CreateHsmRequest>
toBuilder
in class CloudHsmRequest
public static CreateHsmRequest.Builder builder()
public static Class<? extends CreateHsmRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. 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 SdkRequest
fieldName
- 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.