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 Summary
Modifier 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.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.cloudhsm.model.CloudHsmRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
The external ID from
IamRoleArn
, if present.- Parameters:
externalId
- The external ID fromIamRoleArn
, if present.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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
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
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 interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateHsmRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-