public class ServiceModel extends Object
Constructor and Description |
---|
ServiceModel() |
ServiceModel(ServiceMetadata metadata,
Map<String,Operation> operations,
Map<String,Shape> shapes,
Map<String,Authorizer> authorizers) |
Modifier and Type | Method and Description |
---|---|
Map<String,Authorizer> |
getAuthorizers() |
String |
getDocumentation() |
ServiceMetadata |
getMetadata() |
Operation |
getOperation(String operationName)
Convenience getter to retrieve an
Operation by name. |
Map<String,Operation> |
getOperations() |
Shape |
getShape(String shapeName)
Convenience getter to retrieve a
Shape by name. |
Map<String,Shape> |
getShapes() |
void |
setAuthorizers(Map<String,Authorizer> authorizers) |
void |
setDocumentation(String documentation) |
void |
setMetadata(ServiceMetadata metadata) |
void |
setOperations(Map<String,Operation> operations) |
void |
setShapes(Map<String,Shape> shapes) |
public ServiceModel()
public ServiceModel(ServiceMetadata metadata, Map<String,Operation> operations, Map<String,Shape> shapes, Map<String,Authorizer> authorizers)
public ServiceMetadata getMetadata()
public void setMetadata(ServiceMetadata metadata)
public Operation getOperation(String operationName)
Operation
by name.operationName
- Name of operation to retrieve.public Shape getShape(String shapeName)
Shape
by name.shapeName
- Name of shape to retrieve.public String getDocumentation()
public void setDocumentation(String documentation)
public Map<String,Authorizer> getAuthorizers()
public void setAuthorizers(Map<String,Authorizer> authorizers)
Copyright © 2021. All rights reserved.