public class CreateHsmRequest extends AmazonWebServiceRequest implements Serializable
CreateHsm operation.
Creates an uninitialized HSM instance. Running this command provisions an HSM appliance and will result in charges to your AWS account for the HSM.
NOOP| Constructor and Description |
|---|
CreateHsmRequest() |
| Modifier and Type | Method and Description |
|---|---|
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()
The subscription type.
|
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)
The subscription type.
|
void |
setSubscriptionType(SubscriptionType subscriptionType)
The subscription type.
|
void |
setSyslogIp(String syslogIp)
The IP address for the syslog monitoring server.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
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)
The subscription type.
|
CreateHsmRequest |
withSubscriptionType(SubscriptionType subscriptionType)
The subscription type.
|
CreateHsmRequest |
withSyslogIp(String syslogIp)
The IP address for the syslog monitoring server.
|
copyBaseTo, copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getSubnetId()
Constraints:
Pattern: subnet-[0-9a-f]{8}
public void setSubnetId(String subnetId)
Constraints:
Pattern: subnet-[0-9a-f]{8}
subnetId - The identifier of the subnet in your VPC in which to place the HSM.public CreateHsmRequest withSubnetId(String subnetId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: subnet-[0-9a-f]{8}
subnetId - The identifier of the subnet in your VPC in which to place the HSM.public String getSshKey()
Constraints:
Pattern: [a-zA-Z0-9+/= ._:\\@-]*
public void setSshKey(String sshKey)
Constraints:
Pattern: [a-zA-Z0-9+/= ._:\\@-]*
sshKey - The SSH public key to install on the HSM.public CreateHsmRequest withSshKey(String sshKey)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: [a-zA-Z0-9+/= ._:\\@-]*
sshKey - The SSH public key to install on the HSM.public String getEniIp()
Constraints:
Pattern: \d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}
public void setEniIp(String eniIp)
Constraints:
Pattern: \d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}
eniIp - The IP address to assign to the HSM's ENI.public CreateHsmRequest withEniIp(String eniIp)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: \d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}
eniIp - The IP address to assign to the HSM's ENI.public String getIamRoleArn()
Constraints:
Pattern: arn:aws(-iso)?:iam::[0-9]{12}:role/[a-zA-Z0-9_\+=,\.\-@]{1,64}
public void setIamRoleArn(String iamRoleArn)
Constraints:
Pattern: arn:aws(-iso)?:iam::[0-9]{12}:role/[a-zA-Z0-9_\+=,\.\-@]{1,64}
iamRoleArn - The ARN of an IAM role to enable the AWS CloudHSM service to allocate
an ENI on your behalf.public CreateHsmRequest withIamRoleArn(String iamRoleArn)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: arn:aws(-iso)?:iam::[0-9]{12}:role/[a-zA-Z0-9_\+=,\.\-@]{1,64}
iamRoleArn - The ARN of an IAM role to enable the AWS CloudHSM service to allocate
an ENI on your behalf.public String getExternalId()
Constraints:
Pattern: [\w :+=./-]*
public void setExternalId(String externalId)
Constraints:
Pattern: [\w :+=./-]*
externalId - The external ID from IamRoleArn, if present.public CreateHsmRequest withExternalId(String externalId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: [\w :+=./-]*
externalId - The external ID from IamRoleArn, if present.public String getSubscriptionType()
Constraints:
Allowed Values: PRODUCTION
SubscriptionTypepublic void setSubscriptionType(String subscriptionType)
Constraints:
Allowed Values: PRODUCTION
subscriptionType - The subscription type.SubscriptionTypepublic CreateHsmRequest withSubscriptionType(String subscriptionType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: PRODUCTION
subscriptionType - The subscription type.SubscriptionTypepublic void setSubscriptionType(SubscriptionType subscriptionType)
Constraints:
Allowed Values: PRODUCTION
subscriptionType - The subscription type.SubscriptionTypepublic CreateHsmRequest withSubscriptionType(SubscriptionType subscriptionType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: PRODUCTION
subscriptionType - The subscription type.SubscriptionTypepublic String getClientToken()
Constraints:
Pattern: [a-zA-Z0-9]{1,64}
public void setClientToken(String clientToken)
Constraints:
Pattern: [a-zA-Z0-9]{1,64}
clientToken - A user-defined token to ensure idempotence. Subsequent calls to this
action with the same token will be ignored.public CreateHsmRequest withClientToken(String clientToken)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: [a-zA-Z0-9]{1,64}
clientToken - A user-defined token to ensure idempotence. Subsequent calls to this
action with the same token will be ignored.public String getSyslogIp()
Constraints:
Pattern: \d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}
public void setSyslogIp(String syslogIp)
Constraints:
Pattern: \d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}
syslogIp - The IP address for the syslog monitoring server.public CreateHsmRequest withSyslogIp(String syslogIp)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: \d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}
syslogIp - The IP address for the syslog monitoring server.public String toString()
toString in class ObjectObject.toString()Copyright © 2015. All rights reserved.