public class CreateHsmRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Contains the inputs for the CreateHsm operation.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
clientToken
A user-defined token to ensure idempotence.
|
private java.lang.String |
eniIp
The IP address to assign to the HSM's ENI.
|
private java.lang.String |
externalId
The external ID from IamRoleArn, if present.
|
private java.lang.String |
iamRoleArn
The ARN of an IAM role to enable the AWS CloudHSM service to allocate an
ENI on your behalf.
|
private java.lang.String |
sshKey
The SSH public key to install on the HSM.
|
private java.lang.String |
subnetId
The identifier of the subnet in your VPC in which to place the HSM.
|
private java.lang.String |
subscriptionType |
private java.lang.String |
syslogIp
The IP address for the syslog monitoring server.
|
NOOP
Constructor and Description |
---|
CreateHsmRequest() |
Modifier and Type | Method and Description |
---|---|
CreateHsmRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getClientToken()
A user-defined token to ensure idempotence.
|
java.lang.String |
getEniIp()
The IP address to assign to the HSM's ENI.
|
java.lang.String |
getExternalId()
The external ID from IamRoleArn, if present.
|
java.lang.String |
getIamRoleArn()
The ARN of an IAM role to enable the AWS CloudHSM service to allocate an
ENI on your behalf.
|
java.lang.String |
getSshKey()
The SSH public key to install on the HSM.
|
java.lang.String |
getSubnetId()
The identifier of the subnet in your VPC in which to place the HSM.
|
java.lang.String |
getSubscriptionType() |
java.lang.String |
getSyslogIp()
The IP address for the syslog monitoring server.
|
int |
hashCode() |
void |
setClientToken(java.lang.String clientToken)
A user-defined token to ensure idempotence.
|
void |
setEniIp(java.lang.String eniIp)
The IP address to assign to the HSM's ENI.
|
void |
setExternalId(java.lang.String externalId)
The external ID from IamRoleArn, if present.
|
void |
setIamRoleArn(java.lang.String iamRoleArn)
The ARN of an IAM role to enable the AWS CloudHSM service to allocate an
ENI on your behalf.
|
void |
setSshKey(java.lang.String sshKey)
The SSH public key to install on the HSM.
|
void |
setSubnetId(java.lang.String subnetId)
The identifier of the subnet in your VPC in which to place the HSM.
|
void |
setSubscriptionType(java.lang.String subscriptionType) |
void |
setSubscriptionType(SubscriptionType subscriptionType) |
void |
setSyslogIp(java.lang.String syslogIp)
The IP address for the syslog monitoring server.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateHsmRequest |
withClientToken(java.lang.String clientToken)
A user-defined token to ensure idempotence.
|
CreateHsmRequest |
withEniIp(java.lang.String eniIp)
The IP address to assign to the HSM's ENI.
|
CreateHsmRequest |
withExternalId(java.lang.String externalId)
The external ID from IamRoleArn, if present.
|
CreateHsmRequest |
withIamRoleArn(java.lang.String iamRoleArn)
The ARN of an IAM role to enable the AWS CloudHSM service to allocate an
ENI on your behalf.
|
CreateHsmRequest |
withSshKey(java.lang.String sshKey)
The SSH public key to install on the HSM.
|
CreateHsmRequest |
withSubnetId(java.lang.String subnetId)
The identifier of the subnet in your VPC in which to place the HSM.
|
CreateHsmRequest |
withSubscriptionType(java.lang.String subscriptionType) |
CreateHsmRequest |
withSubscriptionType(SubscriptionType subscriptionType) |
CreateHsmRequest |
withSyslogIp(java.lang.String syslogIp)
The IP address for the syslog monitoring server.
|
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
private java.lang.String subnetId
The identifier of the subnet in your VPC in which to place the HSM.
private java.lang.String sshKey
The SSH public key to install on the HSM.
private java.lang.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.
private java.lang.String iamRoleArn
The ARN of an IAM role to enable the AWS CloudHSM service to allocate an ENI on your behalf.
private java.lang.String externalId
The external ID from IamRoleArn, if present.
private java.lang.String subscriptionType
private java.lang.String clientToken
A user-defined token to ensure idempotence. Subsequent calls to this operation with the same token will be ignored.
private java.lang.String syslogIp
The IP address for the syslog monitoring server. The AWS CloudHSM service only supports one syslog monitoring server.
public void setSubnetId(java.lang.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 java.lang.String getSubnetId()
The identifier of the subnet in your VPC in which to place the HSM.
public CreateHsmRequest withSubnetId(java.lang.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(java.lang.String sshKey)
The SSH public key to install on the HSM.
sshKey
- The SSH public key to install on the HSM.public java.lang.String getSshKey()
The SSH public key to install on the HSM.
public CreateHsmRequest withSshKey(java.lang.String sshKey)
The SSH public key to install on the HSM.
sshKey
- The SSH public key to install on the HSM.public void setEniIp(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.String getIamRoleArn()
The ARN of an IAM role to enable the AWS CloudHSM service to allocate an ENI on your behalf.
public CreateHsmRequest withIamRoleArn(java.lang.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(java.lang.String externalId)
The external ID from IamRoleArn, if present.
externalId
- The external ID from IamRoleArn, if present.public java.lang.String getExternalId()
The external ID from IamRoleArn, if present.
public CreateHsmRequest withExternalId(java.lang.String externalId)
The external ID from IamRoleArn, if present.
externalId
- The external ID from IamRoleArn, if present.public void setSubscriptionType(java.lang.String subscriptionType)
subscriptionType
- SubscriptionType
public java.lang.String getSubscriptionType()
SubscriptionType
public CreateHsmRequest withSubscriptionType(java.lang.String subscriptionType)
subscriptionType
- SubscriptionType
public void setSubscriptionType(SubscriptionType subscriptionType)
subscriptionType
- SubscriptionType
public CreateHsmRequest withSubscriptionType(SubscriptionType subscriptionType)
subscriptionType
- SubscriptionType
public void setClientToken(java.lang.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 java.lang.String getClientToken()
A user-defined token to ensure idempotence. Subsequent calls to this operation with the same token will be ignored.
public CreateHsmRequest withClientToken(java.lang.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(java.lang.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 java.lang.String getSyslogIp()
The IP address for the syslog monitoring server. The AWS CloudHSM service only supports one syslog monitoring server.
public CreateHsmRequest withSyslogIp(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CreateHsmRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()