Class ServiceModel
- java.lang.Object
-
- software.amazon.awssdk.codegen.model.service.ServiceModel
-
public class ServiceModel extends Object
-
-
Constructor Summary
Constructors Constructor Description ServiceModel()ServiceModel(ServiceMetadata metadata, Map<String,Operation> operations, Map<String,Shape> shapes, Map<String,Authorizer> authorizers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Authorizer>getAuthorizers()Map<String,ClientContextParam>getClientContextParams()StringgetDocumentation()ServiceMetadatagetMetadata()OperationgetOperation(String operationName)Convenience getter to retrieve anOperationby name.Map<String,Operation>getOperations()ShapegetShape(String shapeName)Convenience getter to retrieve aShapeby name.Map<String,Shape>getShapes()voidsetAuthorizers(Map<String,Authorizer> authorizers)voidsetClientContextParams(Map<String,ClientContextParam> clientContextParams)voidsetDocumentation(String documentation)voidsetMetadata(ServiceMetadata metadata)voidsetOperations(Map<String,Operation> operations)voidsetShapes(Map<String,Shape> shapes)
-
-
-
Constructor Detail
-
ServiceModel
public ServiceModel()
-
ServiceModel
public ServiceModel(ServiceMetadata metadata, Map<String,Operation> operations, Map<String,Shape> shapes, Map<String,Authorizer> authorizers)
-
-
Method Detail
-
getMetadata
public ServiceMetadata getMetadata()
-
setMetadata
public void setMetadata(ServiceMetadata metadata)
-
getOperation
public Operation getOperation(String operationName)
Convenience getter to retrieve anOperationby name.- Parameters:
operationName- Name of operation to retrieve.- Returns:
- Operation or null if not found.
-
getShape
public Shape getShape(String shapeName)
Convenience getter to retrieve aShapeby name.- Parameters:
shapeName- Name of shape to retrieve.- Returns:
- Shape or null if not found.
-
getDocumentation
public String getDocumentation()
-
setDocumentation
public void setDocumentation(String documentation)
-
getAuthorizers
public Map<String,Authorizer> getAuthorizers()
-
setAuthorizers
public void setAuthorizers(Map<String,Authorizer> authorizers)
-
getClientContextParams
public Map<String,ClientContextParam> getClientContextParams()
-
setClientContextParams
public void setClientContextParams(Map<String,ClientContextParam> clientContextParams)
-
-