Interface CreateHsmRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- Buildable,- CloudHsmRequest.Builder,- CopyableBuilder<CreateHsmRequest.Builder,,- CreateHsmRequest> - SdkBuilder<CreateHsmRequest.Builder,,- CreateHsmRequest> - SdkPojo,- SdkRequest.Builder
- Enclosing class:
- CreateHsmRequest
- 
Method SummaryModifier and TypeMethodDescriptionclientToken(String clientToken) A user-defined token to ensure idempotence.The IP address to assign to the HSM's ENI.externalId(String externalId) The external ID fromIamRoleArn, if present.iamRoleArn(String iamRoleArn) The ARN of an IAM role to enable the AWS CloudHSM service to allocate an ENI on your behalf.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The SSH public key to install on the HSM.The identifier of the subnet in your VPC in which to place the HSM.subscriptionType(String subscriptionType) Sets the value of the SubscriptionType property for this object.subscriptionType(SubscriptionType subscriptionType) Sets the value of the SubscriptionType property for this object.The IP address for the syslog monitoring server.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.services.cloudhsm.model.CloudHsmRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
subnetIdThe 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.
 
- 
sshKeyThe 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.
 
- 
eniIpThe 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.
 
- 
iamRoleArnThe 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.
 
- 
externalIdThe 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.
 
- 
subscriptionTypeSets 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:
 
- 
subscriptionTypeSets 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:
 
- 
clientTokenA 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.
 
- 
syslogIpThe 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.
 
- 
overrideConfigurationCreateHsmRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationCreateHsmRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-