Class CreateHsmRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
Contains the inputs for the CreateHsm operation.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
A user-defined token to ensure idempotence.getEniIp()
The IP address to assign to the HSM's ENI.The external ID from IamRoleArn, if present.The ARN of an IAM role to enable the AWS CloudHSM service to allocate an ENI on your behalf.The SSH public key to install on the HSM.The identifier of the subnet in your VPC in which to place the HSM.The IP address for the syslog monitoring server.int
hashCode()
void
setClientToken
(String clientToken) A user-defined token to ensure idempotence.void
The IP address to assign to the HSM's ENI.void
setExternalId
(String externalId) The external ID from IamRoleArn, if present.void
setIamRoleArn
(String iamRoleArn) The ARN of an IAM role to enable the AWS CloudHSM service to allocate an ENI on your behalf.void
The SSH public key to install on the HSM.void
setSubnetId
(String subnetId) The identifier of the subnet in your VPC in which to place the HSM.void
setSubscriptionType
(SubscriptionType subscriptionType) void
setSubscriptionType
(String subscriptionType) void
setSyslogIp
(String syslogIp) The IP address for the syslog monitoring server.toString()
Returns a string representation of this object; useful for testing and debugging.withClientToken
(String clientToken) A user-defined token to ensure idempotence.The IP address to assign to the HSM's ENI.withExternalId
(String externalId) The external ID from IamRoleArn, if present.withIamRoleArn
(String iamRoleArn) The ARN of an IAM role to enable the AWS CloudHSM service to allocate an ENI on your behalf.withSshKey
(String sshKey) The SSH public key to install on the HSM.withSubnetId
(String subnetId) The identifier of the subnet in your VPC in which to place the HSM.withSubscriptionType
(SubscriptionType subscriptionType) withSubscriptionType
(String subscriptionType) withSyslogIp
(String syslogIp) The IP address for the syslog monitoring server.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
CreateHsmRequest
public CreateHsmRequest()
-
-
Method Details
-
setSubnetId
The identifier of the subnet in your VPC in which to place the HSM.
- Parameters:
subnetId
- The identifier of the subnet in your VPC in which to place the HSM.
-
getSubnetId
The identifier of the subnet in your VPC in which to place the HSM.
- Returns:
- The identifier of the subnet in your VPC in which to place the HSM.
-
withSubnetId
The identifier of the subnet in your VPC in which to place the HSM.
- Parameters:
subnetId
- The identifier of the subnet in your VPC in which to place the HSM.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSshKey
The SSH public key to install on the HSM.
- Parameters:
sshKey
- The SSH public key to install on the HSM.
-
getSshKey
The SSH public key to install on the HSM.
- Returns:
- The SSH public key to install on the HSM.
-
withSshKey
The SSH public key to install on the HSM.
- Parameters:
sshKey
- The SSH public key to install on the HSM.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEniIp
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.
- Parameters:
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.
-
getEniIp
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.
- Returns:
- 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.
-
withEniIp
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setIamRoleArn
The ARN of an IAM role to enable the AWS CloudHSM service to allocate an ENI on your behalf.
- Parameters:
iamRoleArn
- The ARN of an IAM role to enable the AWS CloudHSM service to allocate an ENI on your behalf.
-
getIamRoleArn
The ARN of an IAM role to enable the AWS CloudHSM service to allocate an ENI on your behalf.
- Returns:
- The ARN of an IAM role to enable the AWS CloudHSM service to allocate an ENI on your behalf.
-
withIamRoleArn
The ARN of an IAM role to enable the AWS CloudHSM service to allocate an ENI on your behalf.
- Parameters:
iamRoleArn
- The ARN of an IAM role to enable the AWS CloudHSM service to allocate an ENI on your behalf.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setExternalId
The external ID from IamRoleArn, if present.
- Parameters:
externalId
- The external ID from IamRoleArn, if present.
-
getExternalId
The external ID from IamRoleArn, if present.
- Returns:
- The external ID from IamRoleArn, if present.
-
withExternalId
The external ID from IamRoleArn, if present.
- Parameters:
externalId
- The external ID from IamRoleArn, if present.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSubscriptionType
- Parameters:
subscriptionType
-- See Also:
-
getSubscriptionType
- Returns:
- See Also:
-
withSubscriptionType
- Parameters:
subscriptionType
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setSubscriptionType
- Parameters:
subscriptionType
-- See Also:
-
withSubscriptionType
- Parameters:
subscriptionType
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setClientToken
A user-defined token to ensure idempotence. Subsequent calls to this operation with the same token will be ignored.
- Parameters:
clientToken
- A user-defined token to ensure idempotence. Subsequent calls to this operation with the same token will be ignored.
-
getClientToken
A user-defined token to ensure idempotence. Subsequent calls to this operation with the same token will be ignored.
- Returns:
- A user-defined token to ensure idempotence. Subsequent calls to this operation with the same token will be ignored.
-
withClientToken
A user-defined token to ensure idempotence. Subsequent calls to this operation with the same token will be ignored.
- Parameters:
clientToken
- A user-defined token to ensure idempotence. Subsequent calls to this operation with the same token will be ignored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSyslogIp
The IP address for the syslog monitoring server. The AWS CloudHSM service only supports one syslog monitoring server.
- Parameters:
syslogIp
- The IP address for the syslog monitoring server. The AWS CloudHSM service only supports one syslog monitoring server.
-
getSyslogIp
The IP address for the syslog monitoring server. The AWS CloudHSM service only supports one syslog monitoring server.
- Returns:
- The IP address for the syslog monitoring server. The AWS CloudHSM service only supports one syslog monitoring server.
-
withSyslogIp
The IP address for the syslog monitoring server. The AWS CloudHSM service only supports one syslog monitoring server.
- Parameters:
syslogIp
- The IP address for the syslog monitoring server. The AWS CloudHSM service only supports one syslog monitoring server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-