@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateHsmRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Contains the inputs for the CreateHsm operation.
NOOP| Constructor and Description |
|---|
CreateHsmRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateHsmRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
A user-defined token to ensure idempotence.
|
String |
getEniIp()
The IP address to assign to the HSM's ENI.
|
String |
getExternalId()
The external ID from
IamRoleArn, if present. |
String |
getIamRoleArn()
The ARN of an IAM role to enable the AWS CloudHSM service to allocate an ENI on your behalf.
|
String |
getSshKey()
The SSH public key to install on the HSM.
|
String |
getSubnetId()
The identifier of the subnet in your VPC in which to place the HSM.
|
String |
getSubscriptionType() |
String |
getSyslogIp()
The IP address for the syslog monitoring server.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
A user-defined token to ensure idempotence.
|
void |
setEniIp(String eniIp)
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 |
setSshKey(String sshKey)
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(String subscriptionType) |
void |
setSubscriptionType(SubscriptionType subscriptionType) |
void |
setSyslogIp(String syslogIp)
The IP address for the syslog monitoring server.
|
String |
toString()
Returns a string representation of this object.
|
CreateHsmRequest |
withClientToken(String clientToken)
A user-defined token to ensure idempotence.
|
CreateHsmRequest |
withEniIp(String eniIp)
The IP address to assign to the HSM's ENI.
|
CreateHsmRequest |
withExternalId(String externalId)
The external ID from
IamRoleArn, if present. |
CreateHsmRequest |
withIamRoleArn(String iamRoleArn)
The ARN of an IAM role to enable the AWS CloudHSM service to allocate an ENI on your behalf.
|
CreateHsmRequest |
withSshKey(String sshKey)
The SSH public key to install on the HSM.
|
CreateHsmRequest |
withSubnetId(String subnetId)
The identifier of the subnet in your VPC in which to place the HSM.
|
CreateHsmRequest |
withSubscriptionType(String subscriptionType) |
CreateHsmRequest |
withSubscriptionType(SubscriptionType subscriptionType) |
CreateHsmRequest |
withSyslogIp(String syslogIp)
The IP address for the syslog monitoring server.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setSubnetId(String subnetId)
The identifier of the subnet in your VPC in which to place the HSM.
subnetId - The identifier of the subnet in your VPC in which to place the HSM.public String getSubnetId()
The identifier of the subnet in your VPC in which to place the HSM.
public CreateHsmRequest withSubnetId(String subnetId)
The identifier of the subnet in your VPC in which to place the HSM.
subnetId - The identifier of the subnet in your VPC in which to place the HSM.public void setSshKey(String sshKey)
The SSH public key to install on the HSM.
sshKey - The SSH public key to install on the HSM.public String getSshKey()
The SSH public key to install on the HSM.
public CreateHsmRequest withSshKey(String sshKey)
The SSH public key to install on the HSM.
sshKey - The SSH public key to install on the HSM.public void setEniIp(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.
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.
public String 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.
If an IP address is not specified, an IP address will be randomly chosen from the CIDR range of the subnet.
public CreateHsmRequest withEniIp(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.
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.
public void setIamRoleArn(String iamRoleArn)
The ARN of an IAM role to enable the AWS CloudHSM service to allocate an ENI on your behalf.
iamRoleArn - The ARN of an IAM role to enable the AWS CloudHSM service to allocate an ENI on your behalf.public String getIamRoleArn()
The ARN of an IAM role to enable the AWS CloudHSM service to allocate an ENI on your behalf.
public CreateHsmRequest withIamRoleArn(String iamRoleArn)
The ARN of an IAM role to enable the AWS CloudHSM service to allocate an ENI on your behalf.
iamRoleArn - The ARN of an IAM role to enable the AWS CloudHSM service to allocate an ENI on your behalf.public void setExternalId(String externalId)
The external ID from IamRoleArn, if present.
externalId - The external ID from IamRoleArn, if present.public String getExternalId()
The external ID from IamRoleArn, if present.
IamRoleArn, if present.public CreateHsmRequest withExternalId(String externalId)
The external ID from IamRoleArn, if present.
externalId - The external ID from IamRoleArn, if present.public void setSubscriptionType(String subscriptionType)
subscriptionType - SubscriptionTypepublic String getSubscriptionType()
SubscriptionTypepublic CreateHsmRequest withSubscriptionType(String subscriptionType)
subscriptionType - SubscriptionTypepublic void setSubscriptionType(SubscriptionType subscriptionType)
subscriptionType - SubscriptionTypepublic CreateHsmRequest withSubscriptionType(SubscriptionType subscriptionType)
subscriptionType - SubscriptionTypepublic void setClientToken(String clientToken)
A user-defined token to ensure idempotence. Subsequent calls to this operation with the same token will be ignored.
clientToken - A user-defined token to ensure idempotence. Subsequent calls to this operation with the same token will be
ignored.public String getClientToken()
A user-defined token to ensure idempotence. Subsequent calls to this operation with the same token will be ignored.
public CreateHsmRequest withClientToken(String clientToken)
A user-defined token to ensure idempotence. Subsequent calls to this operation with the same token will be ignored.
clientToken - A user-defined token to ensure idempotence. Subsequent calls to this operation with the same token will be
ignored.public void setSyslogIp(String syslogIp)
The IP address for the syslog monitoring server. The AWS CloudHSM service only supports one syslog monitoring server.
syslogIp - The IP address for the syslog monitoring server. The AWS CloudHSM service only supports one syslog
monitoring server.public String getSyslogIp()
The IP address for the syslog monitoring server. The AWS CloudHSM service only supports one syslog monitoring server.
public CreateHsmRequest withSyslogIp(String syslogIp)
The IP address for the syslog monitoring server. The AWS CloudHSM service only supports one syslog monitoring server.
syslogIp - The IP address for the syslog monitoring server. The AWS CloudHSM service only supports one syslog
monitoring server.public String toString()
toString in class ObjectObject.toString()public CreateHsmRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()