public interface NamingStrategy
Modifier and Type | Method and Description |
---|---|
String |
getAuthorizerClassName(String shapeName) |
String |
getBeanStyleGetterMethodName(String memberName,
Shape parentShape,
Shape c2jShape) |
String |
getBeanStyleSetterMethodName(String memberName,
Shape parentShape,
Shape c2jShape) |
String |
getClientPackageName(String serviceName)
Retrieve the client package name that should be used based on the service name.
|
String |
getEnumValueName(String enumValue) |
String |
getExceptionName(String errorShapeName) |
String |
getFluentEnumGetterMethodName(String memberName,
Shape parentShape,
Shape shape) |
String |
getFluentEnumSetterMethodName(String memberName,
Shape parentShape,
Shape shape) |
String |
getFluentGetterMethodName(String memberName,
Shape parentShape,
Shape shape) |
String |
getFluentSetterMethodName(String memberName,
Shape parentShape,
Shape shape) |
String |
getJavaClassName(String shapeName) |
String |
getModelPackageName(String serviceName)
Retrieve the model package name that should be used based on the service name.
|
String |
getPaginatorsPackageName(String serviceName)
Retrieve the paginators package name that should be used based on the service name.
|
String |
getRequestClassName(String operationName) |
String |
getRequestTransformPackageName(String serviceName)
Retrieve the request transform package name that should be used based on the service name.
|
String |
getResponseClassName(String operationName) |
String |
getSdkFieldFieldName(MemberModel memberModel)
Stuttering is intentional, returns the name of the
SdkField field. |
String |
getServiceName()
Retrieve the service name that should be used based on the model.
|
String |
getSmokeTestPackageName(String serviceName)
Retrieve the smote test package name that should be used based on the service name.
|
String |
getTransformPackageName(String serviceName)
Retrieve the transform package name that should be used based on the service name.
|
String |
getVariableName(String name) |
String getServiceName()
String getClientPackageName(String serviceName)
String getModelPackageName(String serviceName)
String getTransformPackageName(String serviceName)
String getRequestTransformPackageName(String serviceName)
String getPaginatorsPackageName(String serviceName)
String getSmokeTestPackageName(String serviceName)
String getExceptionName(String errorShapeName)
errorShapeName
- Name of error shape to derive exception class name from.String getRequestClassName(String operationName)
operationName
- Name of operation used to derive request class name.String getResponseClassName(String operationName)
operationName
- Name of operation used to derive response class name.String getVariableName(String name)
name
- Some contextual name to derive variable name from (i.e. member name, java class name, etc).String getEnumValueName(String enumValue)
enumValue
- Enum value as defined in the service model used to derive the java name.String getJavaClassName(String shapeName)
shapeName
- Name of structure used to derive Java class name.String getAuthorizerClassName(String shapeName)
shapeName
- Name of an authorizer shape used to derive the authorizer nameString getFluentGetterMethodName(String memberName, Shape parentShape, Shape shape)
memberName
- Member name to name getter for.shape
- The shape associated with the member.String getFluentEnumGetterMethodName(String memberName, Shape parentShape, Shape shape)
memberName
- The full member to get the name for.shape
- The shape associated with the member.String getBeanStyleGetterMethodName(String memberName, Shape parentShape, Shape c2jShape)
memberName
- Member name to name getter for.String getBeanStyleSetterMethodName(String memberName, Shape parentShape, Shape c2jShape)
memberName
- Member name to name setter for.String getFluentSetterMethodName(String memberName, Shape parentShape, Shape shape)
memberName
- Member name to name fluent setter for.String getFluentEnumSetterMethodName(String memberName, Shape parentShape, Shape shape)
memberName
- The full member to get the name for.shape
- The shape associated with the member.String getSdkFieldFieldName(MemberModel memberModel)
SdkField
field.memberModel
- Member to generate field name for.SdkField
pojo.Copyright © 2019. All rights reserved.