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:
  • Constructor Details

    • ModifyHsmRequest

      public ModifyHsmRequest()
  • Method Details

    • 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • 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 class AmazonWebServiceRequest
      See Also: