Class IntermediateModel
java.lang.Object
software.amazon.awssdk.codegen.model.intermediate.IntermediateModel
-
Constructor Summary
ConstructorsConstructorDescriptionIntermediateModel(Metadata metadata, Map<String, OperationModel> operations, Map<String, ShapeModel> shapes, CustomizationConfig customizationConfig) IntermediateModel(Metadata metadata, Map<String, OperationModel> operations, Map<String, ShapeModel> shapes, CustomizationConfig customizationConfig, OperationModel endpointOperation, Map<String, PaginatorDefinition> paginators, NamingStrategy namingStrategy, Map<String, WaiterDefinition> waiters, EndpointRuleSetModel endpointRuleSetModel, EndpointTestSuiteModel endpointTestSuiteModel, Map<String, ClientContextParam> clientContextParams) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleangetOperation(String operationName) getShapeByNameAndC2jName(String shapeName, String shapeC2jName) Looks up a shape by name and verifies that the expected C2J name matchesbooleanbooleanvoidsetCustomizationConfig(CustomizationConfig customizationConfig) voidsetEndpointOperation(OperationModel endpointOperation) voidsetMetadata(Metadata metadata) voidsetNamingStrategy(NamingStrategy namingStrategy) voidsetOperations(Map<String, OperationModel> operations) voidsetPaginators(Map<String, PaginatorDefinition> paginators) voidsetShapes(Map<String, ShapeModel> shapes)
-
Constructor Details
-
IntermediateModel
public IntermediateModel() -
IntermediateModel
public IntermediateModel(Metadata metadata, Map<String, OperationModel> operations, Map<String, ShapeModel> shapes, CustomizationConfig customizationConfig) -
IntermediateModel
public IntermediateModel(Metadata metadata, Map<String, OperationModel> operations, Map<String, ShapeModel> shapes, CustomizationConfig customizationConfig, OperationModel endpointOperation, Map<String, PaginatorDefinition> paginators, NamingStrategy namingStrategy, Map<String, WaiterDefinition> waiters, EndpointRuleSetModel endpointRuleSetModel, EndpointTestSuiteModel endpointTestSuiteModel, Map<String, ClientContextParam> clientContextParams)
-
-
Method Details
-
getMetadata
-
setMetadata
-
getOperations
-
setOperations
-
getOperation
-
getShapes
-
setShapes
-
getShapeByNameAndC2jName
Looks up a shape by name and verifies that the expected C2J name matches- Parameters:
shapeName- the name of the shape in the intermediate modelshapeC2jName- C2J's name for the shape- Returns:
- the ShapeModel
- Throws:
IllegalArgumentException- if no matching shape is found
-
getCustomizationConfig
-
setCustomizationConfig
-
getPaginators
-
getWaiters
-
getEndpointRuleSetModel
-
getEndpointTestSuiteModel
-
getClientContextParams
-
setPaginators
-
getNamingStrategy
-
setNamingStrategy
-
getCustomRetryPolicy
-
getCustomRetryStrategy
-
getSdkModeledExceptionBaseFqcn
-
getSdkModeledExceptionBaseClassName
-
getSdkRequestBaseClassName
-
getSdkResponseBaseClassName
-
syncClientDecoratorClassName
-
asyncClientDecoratorClassName
-
getFileHeader
-
getSdkBaseResponseFqcn
-
getEndpointOperation
-
setEndpointOperation
-
hasPaginators
public boolean hasPaginators() -
hasWaiters
public boolean hasWaiters() -
containsRequestSigners
public boolean containsRequestSigners() -
containsRequestEventStreams
public boolean containsRequestEventStreams()
-