Interface GenerateMacResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GenerateMacResponse.Builder,,GenerateMacResponse> KmsResponse.Builder,SdkBuilder<GenerateMacResponse.Builder,,GenerateMacResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GenerateMacResponse
@Mutable
@NotThreadSafe
public static interface GenerateMacResponse.Builder
extends KmsResponse.Builder, SdkPojo, CopyableBuilder<GenerateMacResponse.Builder,GenerateMacResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe HMAC KMS key used in the operation.The hash-based message authentication code (HMAC) that was generated for the specified message, HMAC KMS key, and MAC algorithm.macAlgorithm(String macAlgorithm) The MAC algorithm that was used to generate the HMAC.macAlgorithm(MacAlgorithmSpec macAlgorithm) The MAC algorithm that was used to generate the HMAC.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.kms.model.KmsResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
mac
The hash-based message authentication code (HMAC) that was generated for the specified message, HMAC KMS key, and MAC algorithm.
This is the standard, raw HMAC defined in RFC 2104.
- Parameters:
mac- The hash-based message authentication code (HMAC) that was generated for the specified message, HMAC KMS key, and MAC algorithm.This is the standard, raw HMAC defined in RFC 2104.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
macAlgorithm
The MAC algorithm that was used to generate the HMAC.
- Parameters:
macAlgorithm- The MAC algorithm that was used to generate the HMAC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
macAlgorithm
The MAC algorithm that was used to generate the HMAC.
- Parameters:
macAlgorithm- The MAC algorithm that was used to generate the HMAC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
keyId
The HMAC KMS key used in the operation.
- Parameters:
keyId- The HMAC KMS key used in the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-