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 ModifyHsmRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getEniIp()
The new IP address for the elastic network interface (ENI) attached to the HSM.String
getExternalId()
The new external ID.String
getHsmArn()
The ARN of the HSM to modify.String
getIamRoleArn()
The new IAM role ARN.String
getSubnetId()
The new identifier of the subnet that the HSM is in.String
getSyslogIp()
The new IP address for the syslog monitoring server.int
hashCode()
void
setEniIp(String eniIp)
The new IP address for the elastic network interface (ENI) attached to the HSM.void
setExternalId(String externalId)
The new external ID.void
setHsmArn(String hsmArn)
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.String
toString()
Returns a string representation of this object; useful for testing and debugging.ModifyHsmRequest
withEniIp(String eniIp)
The new IP address for the elastic network interface (ENI) attached to the HSM.ModifyHsmRequest
withExternalId(String externalId)
The new external ID.ModifyHsmRequest
withHsmArn(String hsmArn)
The ARN of the HSM to modify.ModifyHsmRequest
withIamRoleArn(String iamRoleArn)
The new IAM role ARN.ModifyHsmRequest
withSubnetId(String subnetId)
The new identifier of the subnet that the HSM is in.ModifyHsmRequest
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
-
-
-
-
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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ModifyHsmRequest 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:
Object.clone()
-
-