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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateHsmRequest.BuilderclientToken(String clientToken)A user-defined token to ensure idempotence.CreateHsmRequest.BuildereniIp(String eniIp)The IP address to assign to the HSM's ENI.CreateHsmRequest.BuilderexternalId(String externalId)The external ID fromIamRoleArn, if present.CreateHsmRequest.BuilderiamRoleArn(String iamRoleArn)The ARN of an IAM role to enable the AWS CloudHSM service to allocate an ENI on your behalf.CreateHsmRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateHsmRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateHsmRequest.BuildersshKey(String sshKey)The SSH public key to install on the HSM.CreateHsmRequest.BuildersubnetId(String subnetId)The identifier of the subnet in your VPC in which to place the HSM.CreateHsmRequest.BuildersubscriptionType(String subscriptionType)Sets the value of the SubscriptionType property for this object.CreateHsmRequest.BuildersubscriptionType(SubscriptionType subscriptionType)Sets the value of the SubscriptionType property for this object.CreateHsmRequest.BuildersyslogIp(String syslogIp)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
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
CreateHsmRequest.Builder sshKey(String 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
CreateHsmRequest.Builder eniIp(String 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 fromIamRoleArn, 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,SubscriptionType
-
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:
SubscriptionType,SubscriptionType
-
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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateHsmRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-