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 TypeMethodDescriptionboolean
boolean
getOperation
(String operationName) getShapeByNameAndC2jName
(String shapeName, String shapeC2jName) Looks up a shape by name and verifies that the expected C2J name matchesboolean
boolean
void
setCustomizationConfig
(CustomizationConfig customizationConfig) void
setEndpointOperation
(OperationModel endpointOperation) void
setMetadata
(Metadata metadata) void
setNamingStrategy
(NamingStrategy namingStrategy) void
setOperations
(Map<String, OperationModel> operations) void
setPaginators
(Map<String, PaginatorDefinition> paginators) void
setShapes
(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
-
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()
-