@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifyHsmRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Contains the inputs for the ModifyHsm operation.
NOOP
Constructor and Description |
---|
ModifyHsmRequest() |
Modifier and Type | Method and Description |
---|---|
ModifyHsmRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
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.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setHsmArn(String hsmArn)
The ARN of the HSM to modify.
hsmArn
- The ARN of the HSM to modify.public String getHsmArn()
The ARN of the HSM to modify.
public ModifyHsmRequest withHsmArn(String hsmArn)
The ARN of the HSM to modify.
hsmArn
- The ARN of the HSM to modify.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.
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.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.
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.
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.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.
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.
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.
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.
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.
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.
public void setIamRoleArn(String iamRoleArn)
The new IAM role ARN.
iamRoleArn
- The new IAM role ARN.public String getIamRoleArn()
The new IAM role ARN.
public ModifyHsmRequest withIamRoleArn(String iamRoleArn)
The new IAM role ARN.
iamRoleArn
- The new IAM role ARN.public void setExternalId(String externalId)
The new external ID.
externalId
- The new external ID.public String getExternalId()
The new external ID.
public ModifyHsmRequest withExternalId(String externalId)
The new external ID.
externalId
- The new external ID.public void setSyslogIp(String syslogIp)
The new IP address for the syslog monitoring server. The AWS CloudHSM service only supports one syslog monitoring server.
syslogIp
- The new IP address for the syslog monitoring server. The AWS CloudHSM service only supports one syslog
monitoring server.public String getSyslogIp()
The new IP address for the syslog monitoring server. The AWS CloudHSM service only supports one syslog monitoring server.
public ModifyHsmRequest withSyslogIp(String syslogIp)
The new IP address for the syslog monitoring server. The AWS CloudHSM service only supports one syslog monitoring server.
syslogIp
- The new IP address for the syslog monitoring server. The AWS CloudHSM service only supports one syslog
monitoring server.public String toString()
toString
in class Object
Object.toString()
public ModifyHsmRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.