Class ModifyHsmRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.cloudhsm.model.ModifyHsmRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class ModifyHsmRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Contains the inputs for the ModifyHsm operation.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description ModifyHsmRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ModifyHsmRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetEniIp()The new IP address for the elastic network interface (ENI) attached to the HSM.StringgetExternalId()The new external ID.StringgetHsmArn()The ARN of the HSM to modify.StringgetIamRoleArn()The new IAM role ARN.StringgetSubnetId()The new identifier of the subnet that the HSM is in.StringgetSyslogIp()The new IP address for the syslog monitoring server.inthashCode()voidsetEniIp(String eniIp)The new IP address for the elastic network interface (ENI) attached to the HSM.voidsetExternalId(String externalId)The new external ID.voidsetHsmArn(String hsmArn)The ARN of the HSM to modify.voidsetIamRoleArn(String iamRoleArn)The new IAM role ARN.voidsetSubnetId(String subnetId)The new identifier of the subnet that the HSM is in.voidsetSyslogIp(String syslogIp)The new IP address for the syslog monitoring server.StringtoString()Returns a string representation of this object; useful for testing and debugging.ModifyHsmRequestwithEniIp(String eniIp)The new IP address for the elastic network interface (ENI) attached to the HSM.ModifyHsmRequestwithExternalId(String externalId)The new external ID.ModifyHsmRequestwithHsmArn(String hsmArn)The ARN of the HSM to modify.ModifyHsmRequestwithIamRoleArn(String iamRoleArn)The new IAM role ARN.ModifyHsmRequestwithSubnetId(String subnetId)The new identifier of the subnet that the HSM is in.ModifyHsmRequestwithSyslogIp(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
-
-
-
-
Method Detail
-
setHsmArn
public void setHsmArn(String hsmArn)
The ARN of the HSM to modify.
- Parameters:
hsmArn- The ARN of the HSM to modify.
-
getHsmArn
public String getHsmArn()
The ARN of the HSM to modify.
- Returns:
- The ARN of the HSM to modify.
-
withHsmArn
public ModifyHsmRequest withHsmArn(String hsmArn)
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
public void setSubnetId(String 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.
- 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
public String 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
public ModifyHsmRequest withSubnetId(String 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.
- 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
public void setEniIp(String 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.
- 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
public String 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
public ModifyHsmRequest withEniIp(String 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.
- 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
public void setIamRoleArn(String iamRoleArn)
The new IAM role ARN.
- Parameters:
iamRoleArn- The new IAM role ARN.
-
getIamRoleArn
public String getIamRoleArn()
The new IAM role ARN.
- Returns:
- The new IAM role ARN.
-
withIamRoleArn
public ModifyHsmRequest withIamRoleArn(String iamRoleArn)
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
public void setExternalId(String externalId)
The new external ID.
- Parameters:
externalId- The new external ID.
-
getExternalId
public String getExternalId()
The new external ID.
- Returns:
- The new external ID.
-
withExternalId
public ModifyHsmRequest withExternalId(String externalId)
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
public void setSyslogIp(String syslogIp)
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
public String 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
public ModifyHsmRequest withSyslogIp(String syslogIp)
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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ModifyHsmRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-