public class CreateHsmRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Contains the inputs for the CreateHsm action.
NOOP
Constructor and Description |
---|
CreateHsmRequest() |
Modifier and Type | Method and Description |
---|---|
CreateHsmRequest |
clone()
Creates a shallow clone of this request.
|
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, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public 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.
eniIp
- The IP address to assign to the HSM's ENI.public String getEniIp()
The IP address to assign to the HSM's ENI.
public CreateHsmRequest withEniIp(String eniIp)
The IP address to assign to the HSM's ENI.
eniIp
- The IP address to assign to the HSM's ENI.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.
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)
The subscription type.
subscriptionType
- The subscription type.SubscriptionType
public String getSubscriptionType()
The subscription type.
SubscriptionType
public CreateHsmRequest withSubscriptionType(String subscriptionType)
The subscription type.
subscriptionType
- The subscription type.SubscriptionType
public void setSubscriptionType(SubscriptionType subscriptionType)
The subscription type.
subscriptionType
- The subscription type.SubscriptionType
public CreateHsmRequest withSubscriptionType(SubscriptionType subscriptionType)
The subscription type.
subscriptionType
- The subscription type.SubscriptionType
public void setClientToken(String clientToken)
A user-defined token to ensure idempotence. Subsequent calls to this action with the same token will be ignored.
clientToken
- A user-defined token to ensure idempotence. Subsequent calls to
this action with the same token will be ignored.public String getClientToken()
A user-defined token to ensure idempotence. Subsequent calls to this action with the same token will be ignored.
public CreateHsmRequest withClientToken(String clientToken)
A user-defined token to ensure idempotence. Subsequent calls to this action with the same token will be ignored.
clientToken
- A user-defined token to ensure idempotence. Subsequent calls to
this action with the same token will be ignored.public void setSyslogIp(String syslogIp)
The IP address for the syslog monitoring server.
syslogIp
- The IP address for the syslog monitoring server.public String getSyslogIp()
The IP address for the syslog monitoring server.
public CreateHsmRequest withSyslogIp(String syslogIp)
The IP address for the syslog monitoring server.
syslogIp
- The IP address for the syslog monitoring server.public String toString()
toString
in class Object
Object.toString()
public CreateHsmRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.