Class MakeIdempotencyTokensClientOptional
java.lang.Object
software.amazon.smithy.build.transforms.MakeIdempotencyTokensClientOptional
- All Implemented Interfaces:
ProjectionTransformer
public final class MakeIdempotencyTokensClientOptional
extends Object
implements ProjectionTransformer
makeIdempotencyTokensClientOptional
makes @idempotencyToken
fields @clientOptional
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
Gets the name of the transformer.transform
(TransformContext context) Transforms the given model using the providedTransformContext
.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.smithy.build.ProjectionTransformer
getAdditionalProjections
-
Constructor Details
-
MakeIdempotencyTokensClientOptional
public MakeIdempotencyTokensClientOptional()
-
-
Method Details
-
getName
Description copied from interface:ProjectionTransformer
Gets the name of the transformer.- Specified by:
getName
in interfaceProjectionTransformer
- Returns:
- Returns the name (e.g., "traits").
-
transform
Description copied from interface:ProjectionTransformer
Transforms the given model using the providedTransformContext
.- Specified by:
transform
in interfaceProjectionTransformer
- Parameters:
context
- Transformation context.- Returns:
- Returns the created transformer.
-