Class ModelValidationContext
- java.lang.Object
-
- software.amazon.awssdk.codegen.validation.ModelValidationContext
-
public final class ModelValidationContext extends Object
Context object forModelValidators. This object contains all the information available to the validations in order for them to perform their tasks.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classModelValidationContext.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ModelValidationContext.Builderbuilder()IntermediateModelintermediateModel()The service model for which code is being generated.Optional<IntermediateModel>shareModelsTarget()The model of the service that the currently generating service shares models with.
-
-
-
Method Detail
-
intermediateModel
public IntermediateModel intermediateModel()
The service model for which code is being generated.
-
shareModelsTarget
public Optional<IntermediateModel> shareModelsTarget()
The model of the service that the currently generating service shares models with. In other words, this is the service model for the service defined inShareModelConfig.getShareModelWith().
-
builder
public static ModelValidationContext.Builder builder()
-
-