public void setKey(String key) {
        this.key = key;
    }
<p>
The type of the scope.
</p>

@param key
       The type of the scope.
@see ScopeType
aws-java-sdk-inspector/src/main/java/com/amazonaws/services/inspector/model/Scope.java