@Component public class EmrClusterDefinitionDaoHelper extends Object
| Constructor and Description |
|---|
EmrClusterDefinitionDaoHelper() |
| Modifier and Type | Method and Description |
|---|---|
EmrClusterDefinitionEntity |
getEmrClusterDefinitionEntity(EmrClusterDefinitionKey emrClusterDefinitionKey)
Gets an EMR cluster definition entity based on the key and makes sure that it exists.
|
EmrClusterDefinitionEntity |
getEmrClusterDefinitionEntity(String namespace,
String clusterDefinitionName)
Gets an EMR cluster definition entity based on the namespace and cluster definition name and makes sure that it exists.
|
public EmrClusterDefinitionEntity getEmrClusterDefinitionEntity(EmrClusterDefinitionKey emrClusterDefinitionKey) throws ObjectNotFoundException
emrClusterDefinitionKey - the EMR cluster definition keyObjectNotFoundException - if the EMR cluster definition entity doesn't existpublic EmrClusterDefinitionEntity getEmrClusterDefinitionEntity(String namespace, String clusterDefinitionName) throws ObjectNotFoundException
namespace - the namespaceclusterDefinitionName - the cluster definition nameObjectNotFoundException - if the EMR cluster definition entity doesn't existCopyright © 2017. All rights reserved.