Interface ModifyHsmRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CloudHsmRequest.Builder, CopyableBuilder<ModifyHsmRequest.Builder,ModifyHsmRequest>, SdkBuilder<ModifyHsmRequest.Builder,ModifyHsmRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
ModifyHsmRequest

public static interface ModifyHsmRequest.Builder extends CloudHsmRequest.Builder, SdkPojo, CopyableBuilder<ModifyHsmRequest.Builder,ModifyHsmRequest>
  • Method Details

    • 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.
    • subnetId

      ModifyHsmRequest.Builder subnetId(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.
    • 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.
    • iamRoleArn

      ModifyHsmRequest.Builder iamRoleArn(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.
    • externalId

      ModifyHsmRequest.Builder externalId(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.
    • syslogIp

      ModifyHsmRequest.Builder syslogIp(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.
    • overrideConfiguration

      ModifyHsmRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.