Interface ModifyHsmRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CloudHsmRequest.Builder
,CopyableBuilder<ModifyHsmRequest.Builder,
,ModifyHsmRequest> SdkBuilder<ModifyHsmRequest.Builder,
,ModifyHsmRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ModifyHsmRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe new IP address for the elastic network interface (ENI) attached to the HSM.externalId
(String externalId) The new external ID.The ARN of the HSM to modify.iamRoleArn
(String iamRoleArn) The new IAM role ARN.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The new identifier of the subnet that the HSM is in.The new 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
-
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
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
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
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
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 interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ModifyHsmRequest.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.
-