Class ModifyHsmRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
Contains the inputs for the ModifyHsm 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
getEniIp()
The new IP address for the elastic network interface (ENI) attached to the HSM.The new external ID.The ARN of the HSM to modify.The new IAM role ARN.The new identifier of the subnet that the HSM is in.The new IP address for the syslog monitoring server.int
hashCode()
void
The new IP address for the elastic network interface (ENI) attached to the HSM.void
setExternalId
(String externalId) The new external ID.void
The ARN of the HSM to modify.void
setIamRoleArn
(String iamRoleArn) The new IAM role ARN.void
setSubnetId
(String subnetId) The new identifier of the subnet that the HSM is in.void
setSyslogIp
(String syslogIp) The new IP address for the syslog monitoring server.toString()
Returns a string representation of this object; useful for testing and debugging.The new IP address for the elastic network interface (ENI) attached to the HSM.withExternalId
(String externalId) The new external ID.withHsmArn
(String hsmArn) The ARN of the HSM to modify.withIamRoleArn
(String iamRoleArn) The new IAM role ARN.withSubnetId
(String subnetId) The new identifier of the subnet that the HSM is in.withSyslogIp
(String syslogIp) The new 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
-
ModifyHsmRequest
public ModifyHsmRequest()
-
-
Method Details
-
setHsmArn
The ARN of the HSM to modify.
- Parameters:
hsmArn
- The ARN of the HSM to modify.
-
getHsmArn
The ARN of the HSM to modify.
- Returns:
- The ARN of the HSM to modify.
-
withHsmArn
The ARN of the HSM to modify.
- Parameters:
hsmArn
- The ARN of the HSM to modify.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSubnetId
The new identifier of the subnet that the HSM is in. The new subnet must be in the same Availability Zone as the current subnet.
- Parameters:
subnetId
- The new identifier of the subnet that the HSM is in. The new subnet must be in the same Availability Zone as the current subnet.
-
getSubnetId
The new identifier of the subnet that the HSM is in. The new subnet must be in the same Availability Zone as the current subnet.
- Returns:
- The new identifier of the subnet that the HSM is in. The new subnet must be in the same Availability Zone as the current subnet.
-
withSubnetId
The new identifier of the subnet that the HSM is in. The new subnet must be in the same Availability Zone as the current subnet.
- Parameters:
subnetId
- The new identifier of the subnet that the HSM is in. The new subnet must be in the same Availability Zone as the current subnet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEniIp
The new IP address for the elastic network interface (ENI) attached to the HSM.
If the HSM is moved to a different subnet, and an IP address is not specified, an IP address will be randomly chosen from the CIDR range of the new subnet.
- Parameters:
eniIp
- The new IP address for the elastic network interface (ENI) attached to the HSM.If the HSM is moved to a different subnet, and an IP address is not specified, an IP address will be randomly chosen from the CIDR range of the new subnet.
-
getEniIp
The new IP address for the elastic network interface (ENI) attached to the HSM.
If the HSM is moved to a different subnet, and an IP address is not specified, an IP address will be randomly chosen from the CIDR range of the new subnet.
- Returns:
- The new IP address for the elastic network interface (ENI)
attached to the HSM.
If the HSM is moved to a different subnet, and an IP address is not specified, an IP address will be randomly chosen from the CIDR range of the new subnet.
-
withEniIp
The new IP address for the elastic network interface (ENI) attached to the HSM.
If the HSM is moved to a different subnet, and an IP address is not specified, an IP address will be randomly chosen from the CIDR range of the new subnet.
- Parameters:
eniIp
- The new IP address for the elastic network interface (ENI) attached to the HSM.If the HSM is moved to a different subnet, and an IP address is not specified, an IP address will be randomly chosen from the CIDR range of the new subnet.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setIamRoleArn
The new IAM role ARN.
- Parameters:
iamRoleArn
- The new IAM role ARN.
-
getIamRoleArn
The new IAM role ARN.
- Returns:
- The new IAM role ARN.
-
withIamRoleArn
The new IAM role ARN.
- Parameters:
iamRoleArn
- The new IAM role ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setExternalId
The new external ID.
- Parameters:
externalId
- The new external ID.
-
getExternalId
The new external ID.
- Returns:
- The new external ID.
-
withExternalId
The new external ID.
- Parameters:
externalId
- The new external ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSyslogIp
The new IP address for the syslog monitoring server. The AWS CloudHSM service only supports one syslog monitoring server.
- Parameters:
syslogIp
- The new IP address for the syslog monitoring server. The AWS CloudHSM service only supports one syslog monitoring server.
-
getSyslogIp
The new IP address for the syslog monitoring server. The AWS CloudHSM service only supports one syslog monitoring server.
- Returns:
- The new IP address for the syslog monitoring server. The AWS CloudHSM service only supports one syslog monitoring server.
-
withSyslogIp
The new IP address for the syslog monitoring server. The AWS CloudHSM service only supports one syslog monitoring server.
- Parameters:
syslogIp
- The new 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:
-