Class MakeIdempotencyTokensClientOptional
- java.lang.Object
-
- software.amazon.smithy.build.transforms.MakeIdempotencyTokensClientOptional
-
- All Implemented Interfaces:
ProjectionTransformer
public final class MakeIdempotencyTokensClientOptional extends java.lang.Object implements ProjectionTransformer
makeIdempotencyTokensClientOptional
makes@idempotencyToken
fields@clientOptional
.
-
-
Constructor Summary
Constructors Constructor Description MakeIdempotencyTokensClientOptional()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
Gets the name of the transformer.Model
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
-
-
-
-
Method Detail
-
getName
public java.lang.String 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
public Model transform(TransformContext context)
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.
-
-