Interface DescribeHsmRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CloudHsmRequest.Builder
,CopyableBuilder<DescribeHsmRequest.Builder,
,DescribeHsmRequest> SdkBuilder<DescribeHsmRequest.Builder,
,DescribeHsmRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
DescribeHsmRequest
public static interface DescribeHsmRequest.Builder
extends CloudHsmRequest.Builder, SdkPojo, CopyableBuilder<DescribeHsmRequest.Builder,DescribeHsmRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the HSM.hsmSerialNumber
(String hsmSerialNumber) The serial number of the HSM.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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. Either the
HsmArn
or theSerialNumber
parameter must be specified.- Parameters:
hsmArn
- The ARN of the HSM. Either theHsmArn
or theSerialNumber
parameter must be specified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hsmSerialNumber
The serial number of the HSM. Either the
HsmArn
or theHsmSerialNumber
parameter must be specified.- Parameters:
hsmSerialNumber
- The serial number of the HSM. Either theHsmArn
or theHsmSerialNumber
parameter must be specified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DescribeHsmRequest.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
DescribeHsmRequest.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.
-