Interface CreateHsmRequest.Builder

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

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

    • subnetId

      CreateHsmRequest.Builder subnetId(String subnetId)

      The identifier of the subnet in your VPC in which to place the HSM.

      Parameters:
      subnetId - The identifier of the subnet in your VPC in which to place the HSM.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sshKey

      The SSH public key to install on the HSM.

      Parameters:
      sshKey - The SSH public key to install on the HSM.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • eniIp

      The IP address to assign to the HSM's ENI.

      If an IP address is not specified, an IP address will be randomly chosen from the CIDR range of the subnet.

      Parameters:
      eniIp - The IP address to assign to the HSM's ENI.

      If an IP address is not specified, an IP address will be randomly chosen from the CIDR range of the subnet.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • iamRoleArn

      CreateHsmRequest.Builder iamRoleArn(String iamRoleArn)

      The ARN of an IAM role to enable the AWS CloudHSM service to allocate an ENI on your behalf.

      Parameters:
      iamRoleArn - The ARN of an IAM role to enable the AWS CloudHSM service to allocate an ENI on your behalf.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • externalId

      CreateHsmRequest.Builder externalId(String externalId)

      The external ID from IamRoleArn, if present.

      Parameters:
      externalId - The external ID from IamRoleArn, if present.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subscriptionType

      CreateHsmRequest.Builder subscriptionType(String subscriptionType)
      Sets the value of the SubscriptionType property for this object.
      Parameters:
      subscriptionType - The new value for the SubscriptionType property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • subscriptionType

      CreateHsmRequest.Builder subscriptionType(SubscriptionType subscriptionType)
      Sets the value of the SubscriptionType property for this object.
      Parameters:
      subscriptionType - The new value for the SubscriptionType property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • clientToken

      CreateHsmRequest.Builder clientToken(String clientToken)

      A user-defined token to ensure idempotence. Subsequent calls to this operation with the same token will be ignored.

      Parameters:
      clientToken - A user-defined token to ensure idempotence. Subsequent calls to this operation with the same token will be ignored.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • syslogIp

      CreateHsmRequest.Builder syslogIp(String syslogIp)

      The IP address for the syslog monitoring server. The AWS CloudHSM service only supports one syslog monitoring server.

      Parameters:
      syslogIp - The 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

      CreateHsmRequest.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.